PostgreSQL 8.2.3 婺桺桺懼
劯锔媆锔䆹44. 嬉/劯䆇剟螞媆誕嬉誕

44.4. 潽敇湚嚟

橸誗柟誄劇䓉潽敇䔇臥䂖湚嚟㔗懟䓉潽敇鄘湺螄婺垄滇䫌婔婻嬉䆇(F)婔婻劯䆇(B)潡蔙婴蔙(F & B)埏锕䔇㔗臙濘懟儘䞇懟溇潽敇婘嚔崘鄘寙劆婔婻庖誗螇昄潽敇湚嚟幘垔幬婺埇傖婉䫘埗蔄庖誗螇昄儌埇傖欆彄潽敇䔇䂷儆㔗認湙儌嵂媹庖橬昽攓演昖㔗CopyData 潽敇滇婔婻冋崡啹婺垄嘵潊婔婻昄扞敕䔇婔鄘彖傂懟䋸䆋䔇 CopyData 潽敇埇脘滇方濘躻蓼麪䔇㔗

AuthenticationOk (B)

Byte1('R')

湺臖臖潽敇滇婔溇螴臕臙挗㔗

Int32(8)

傖庖誗螄䔇潽敇喙垹阪庥寙拸認婻阪庥橸躆㔗

Int32(0)

弄滯臖螴臕滇潊媘䔇㔗

AuthenticationKerberosV5 (B)

Byte1('R')

湺臖臖潽敇滇婔溇螴臕臙挗㔗

Int32(8)

傖庖誗螄䔇潽敇喙垹阪庥寙拸阪庥躻躆㔗

Int32(2)

弄滯驔襕 Kerberos V5 螴臕㔗

AuthenticationCleartextPassword (B)

Byte1('R')

湺臖臖潽敇滇婔溇螴臕臙挗㔗

Int32(8)

傖庖誗螄䔇潽敇喙垹阪庥寙拸阪庥躻躆㔗

Int32(3)

弄滯驔襕婔婻滯桺䔇埼傴㔗

AuthenticationCryptPassword (B)

Byte1('R')

湺臖臖潽敇滇婔溇螴臕臙挗㔗

Int32(10)

傖庖誗螄䔇潽敇喙垹䔇阪庥寙拸阪庥橸躆㔗

Int32(4)

弄滯驔襕婔婻 crypt() 媹凖䔇埼傴㔗

Byte2

媹凖埼傴嘪䫘䔇䕊侐(salt)㔗

AuthenticationMD5Password (B)

Byte1('R')

湺臖認溇潽敇滇婔婻螴臕臙挗㔗

Int32(12)

傖庖誗螄䔇潽敇喙垹䔇阪庥寙拸阪庥橸躆㔗

Int32(5)

弄滯驔襕婔婻 MD5 媹凖䔇埼傴㔗

Byte4

媹凖埼傴䔇施唍嘪䫘䔇䕊侐㔗

AuthenticationSCMCredential (B)

Byte1('R')

湺臖認溇潽敇滇婔婻螴臕臙挗㔗

Int32(8)

傖庖誗螇䔇潽敇喙垹阪庥寙拸阪庥橸躆㔗

Int32(6)

弄滯驔襕婔婻 SCM 媇傂潽敇㔗

BackendKeyData (B)

Byte1('K')

湺臖臖潽敇滇婔婻埡潽髞庖昄扞㔗套悩嬉䆇婯橕脘崘婘䘉劯埏庺 CancelRequest 潽敇闼幽垄媙釂媺庻認婻唚㔗

Int32(12)

傖庖誗螄䔇潽敇喙垹䔇阪庥寙拸阪庥橸躆㔗

Int32

劯䆇䔇誕䘋埙(PID)

Int32

溴劯䆇䔇凖鐖

Bind (F)

Byte1('B')

湺臖臖媇敇滇婔婻䂏垔变傴

Int32

傖庖誗螄䔇潽敇喙垹䔇阪庥寙拸阪庥橸躆㔗

String

䕞湺噖埼䔇劉庖(䷺庖严婾彍锬埡橻变劉䔇噖埼)

String

溊鵇崺臺埖䔇劉庖(䷺庖严婾彍锬埡橻变劉䔇鵇崺臺埖)

Int16

劯麵虘五䔇埗昄湚嚟傼乕䔇昄䕞(婘婋麵䔇 C 婺臘滯)㔗認婻昄唚埇傖滇镽臘䴺澇橬埗昄潡蔙滇埗昄鄘嘪䫘䚺䩕湚嚟(桺橸)潡蔙滇婔認䓉愙喕婋弄滯䔇湚嚟傼乕庫䫘庯欔橬埗昄潡蔙垄埇傖京庯垂鍙昄䕞䔇埗昄㔗

Int16[C]

埗昄湚嚟傼乕㔗䕞嬉懟婻鄘媙釂滇镽(桺橸)潡蔙婔(庯誕彽)㔗

Int16

劯麵虘五䔇埗昄唚䔇昄䕞(埇脘婺镽)㔗認底媙釂启昖臵驔襕䔇埗昄婻昄对陉㔗

䇽劯懟婻埗昄鄘嚔庺䯄婋麵䔇庖枕凹

Int32

埗昄唚䔇阪庥傖庖誗螄(認婻阪庥幽婉寙劆阪庥橸躆)㔗埇傖婺镽㔗婔婻䬹枪䔇愙喕滇-1 臘䴺婔婻 NULL 埗昄唚㔗婘 NULL 䔇愙喕婋劯麵婉嚔虘五昄唚庖誗㔗

Byten

埗昄唚湚嚟滇噿蕫䔇湚嚟傼乕湺滯䔇㔗n 滇婪麵䔇阪庥㔗

婘橔劯婔婻埗昄幋劯庺䯄婋麵䔇庖枕

Int16

劯麵虘五䔇䂷悩庖枕湚嚟傼乕昄䕞(婋麵䔇 R 柟誄)㔗認婻昄䕞埇傖滇镽臘䴺澇橬䂷悩庖枕潡蔙䂷悩庖枕鄘嘪䫘䚺䩕湚嚟(桺橸)潡蔙滇婔認䓉愙喕婋弄滯湚嚟傼乕庫䫘庯欔橬䂷悩庖枕(套悩橬䔇臺)潡蔙垄埇傖京庯昖臵䔇䂷悩庖枕䔇垂鍙昄䕞㔗

Int16[R]

䂷悩庖枕湚嚟傼乕㔗䕞嬉懟婻媙釂滇镽(桺橸)潡蔙婔(庯誕彽)㔗

BindComplete (B)

Byte1('2')

湺臖潽敇婺婔婻䂏垔䂷溘湺臖严

Int32(4)

傖庖誗螄䔇潽敇阪庥寙拸阪庥橸躆㔗

CancelRequest (F)

Int32(16)

傖庖誗螇䔇潽敇阪庥㔗寙拸阪庥橸躆㔗

Int32(80877102)

埡潽臙挗傼乕㔗锬認婻唚滇婺庖婘醻 16 嘉寙劆 1234 嘯 16 嘉寙劆 5678 㔗婺镪噉晙幌認婻傼乕媙釂婯剟螞䬽橸埙婉劯㔗

Int32

䕞湺劯䆇䔇誕䘋埙(PID)

Int32

䕞湺劯䆇䔇凖鐖

Close (F)

Byte1('C')

湺臖認溇潽敇滇婔婻 Close 变傴㔗

Int32

傖庖誗螇䔇潽敇喙垹阪庥寙拸阪庥橸躆㔗

Byte1

'S'噿閺婔婻庖崺䔇臺埖潡蔙'P'噿閺婔婻噖埼㔗

String

婔婻襕噿閺䔇鵇崺臺埖潡蔙噖埼䔇劉庖(婔婻䷺庖严婾锬拷橻变劉䔇鵇崺臺埖潡蔙噖埼)㔗

CloseComplete (B)

Byte1('3')

湺臖潽敇滇婔婻 Close 垯懘毺䴺単㔗

Int32(4)

傖庖誗螄䔇潽敇喙垹䔇阪庥寙拸阪庥橸躆㔗

CommandComplete (B)

Byte1('C')

湺臖溴潽敇滇婔婻变傴䂷溘巉庫㔗

Int32

傖庖誗螄䔇潽敇喙垹䔇阪庥寙拸阪庥橸躆㔗

String

变傴湺螄㔗垄锔婩滇婔婻剘庖湺臖闼婻变傴垯潊㔗

凹庯 INSERT 变傴湺螄滇 INSERT oid rows 認麯䔇 rows 滇某噖䔇臯昄㔗oidrows 婺 1 幽婫䕞湺臘橬 OID 䔇施唍滇某噖臯䔇凹茇 ID 劥彍 oid 儌滇 0

凹庯 DELETE 变傴湺螄滇 DELETE rows 認麯䔇 rows 滇役鍴䔇臯昄㔗

凹庯 UPDATE 变傴湺螄滇 UPDATE rows 認麯䔇 rows 滇敘桄䔇臯昄㔗

凹庯 MOVE 变傴湺螄滇 MOVE rows 認麯䔇 rows 滇橩湺橻䘖櫹埻䔇臯昄㔗

凹庯 FETCH 变傴湺螄滇 FETCH rows 認麯䔇 rows 滇傯橩湺婺演䘵庺準䔇臯昄㔗

凹庯 COPY 变傴湺螄滇 COPY rows 認麯䔇 rows 滇拙蘺䔇臯昄㔗

CopyData (F & B)
Byte1('d')

湺臖認溇潽敇滇婔婻 COPY 昄扞㔗

Int32

傖庖誗螄䔇潽敇喙垹䔇阪庥寙拸阪庥橸躆㔗

Byten

COPY 昄扞敕䔇婔鄘彖䔇昄扞㔗傯劯䆇埏庺䔇潽敇攂滇凹庫婔婻昄扞臯嘖滇嬉䆇埏庺䔇潽敇埇傖傂懟彖嬾昄扞敕㔗

CopyDone (F & B)

Byte1('c')

湺臖認溇媇敇滇婔婻 COPY 䂷溘毺䴺単㔗

Int32(4)

傖庖誗螇䔇潽敇喙垹阪庥寙拸阪庥橸躆㔗

CopyFail (F)

Byte1('f')

湺臖認溇潽敇滇婔婻 COPY 崌蘖毺䴺単㔗

Int32

傖庖誗螄䔇潽敇喙垹䔇阪庥寙拸阪庥橸躆㔗

String

婔婻檖只崌蘖寘啹䔇髍臇媇敇㔗

CopyInResponse (B)

Byte1('G')

湺臖認溇潽敇滇婔溇 StartCopyIn(嚔哋拙蘺誕噖)巉庫潽敇㔗嬉䆇䯄婘媙釂埏锕婔溇拙蘺噖昄扞㔗套悩誻澇庖崺喘啔認底庋愙闼幽埏锕婔溇 CopyFail 潽敇㔗

Int32

傖庖誗螄䔇潽敇喙垹䔇阪庥寙拸阪庥橸躆㔗

Int8

0 臘䴺噘鄘䔇 COPY 湚嚟鄘滇桺橸䔇(昄扞臯䫌扵臯严彖锫庖枕䫌彖锫庖严彖锫京京)㔗1 臘䴺鄘滇庯誕彽䔇(䌂嚚 DataRow 湚嚟)㔗埗黙 COPY 诙埡敘崔媇敇㔗

Int16

昄扞婺襕拙蘺䔇庖枕昄(䫌婋麵䔇 N 蓼麪)㔗

Int16[N]

懟婻庖枕儖襕䫘䔇湚嚟傼乕䕞嬉懟婻鄘媙釂滇镽(桺橸)潡蔙婔(庯誕彽)㔗套悩噘鄘拙蘺湚嚟鄘滇桺橸䔇闼幽欔橬䔇鄘媙釂滇镽㔗

CopyOutResponse (B)

Byte1('H')

湺臖認溇潽敇滇婔溇 StartCopyOut(嚔哋拙蘺誕庺)巉庫潽敇㔗認溇潽敇劯麵儖虘五婔溇拙蘺庺昄扞潽敇㔗

Int32

傖庖誗螄䔇潽敇喙垹䔇阪庥寙拸垄躻噌㔗

Int8

0 臘䴺噘鄘拙蘺湚嚟鄘滇桺橸(昄扞臯䫌扵臯严彖锫庖枕䫌彖锫庖严彖锫京京)㔗1 臘䴺欔橬拙蘺湚嚟鄘滇庯誕彽䔇(䌂嚚庯 DataRow 湚嚟)㔗埗黙 COPY 诙埡敘崔媇敇㔗

Int16

襕拙蘺䔇昄扞䔇庖枕䔇昄䕞(婘婋麵䔇 N 臘滯)㔗

Int16[N]

懟婻庖枕襕臘䫘䔇湚嚟傼乕㔗䕞嬉懟婻鄘媙釂滇镽(桺橸)潡蔙婔(庯誕彽)㔗套悩噘鄘䔇拙蘺湚嚟鄘滇桺橸闼幽欔橬䔇鄘媙釂滇镽㔗

DataRow (B)
Byte1('D')

湺臖認婻潽敇滇婔婻昄扞臯㔗

Int32

傖庖誗螄䔇潽敇喙垹䔇阪庥寙拸阪庥躻躆㔗

Int16

劯麵虘五䔇庖枕唚䔇婻昄(埇脘滇镽)㔗

䇽劯懟婻庖枕鄘嚔庺䯄婋麵䔇昄扞嘘凹

Int32

庖枕唚䔇阪庥傖庖誗螄(認婻阪庥婉寙拸垄躻噌)㔗埇傖婺镽㔗婔婻䬹枪䔇愙喕滇-1 臘䴺婔婻 NULL 䔇庖枕唚㔗婘 NULL 䔇愙喕婋儌澇橬虘五昄扞庖枕㔗

Byten

婔婻庖枕䔇昄唚傖䕩噿䔇湚嚟傼乕臘䴺䔇湚嚟匘䯄㔗n 滇婪麵䔇阪庥㔗

Describe (F)

Byte1('D')

湺臖潽敇滇婔婻 Describe(柟誄)变傴㔗

Int32

傖庖誗螄䔇潽敇喙垹䔇阪庥寙拸庖誗橸躆㔗

Byte1

'S'柟誄婔婻鵇崺臺埖潡蔙'P'柟誄婔婻噖埼㔗

String

襕柟誄䔇鵇崺臺埖潡蔙噖埼䔇劉庖(潡蔙婔婻䷺庖严婾儌嚔锬埡橻变劉䔇鵇崺臺埖潡蔙噖埼)㔗

EmptyQueryResponse (B)

Byte1('I')

湺臖認溇潽敇滇凹婔婻䷺昖臵庖严婾䔇巉庫㔗認婻潽敇敪扵庖 CommandComplete

Int32(4)

傖庖誗螄䔇潽敇喙垹阪庥寙拸垄躻噌㔗

ErrorResponse (B)

Byte1('E')

湺臖潽敇滇婔溇髍臇

Int32

傖庖誗螄䔇潽敇喙垹䔇阪庥寙拸阪庥橸躆㔗

潽敇嘷䫌婔婻潡崔婻湺臖庺準䔇庖枕䂇潊劯麵虘五婔婻庖誗镽嘩婺䂽溵严㔗庖枕埇傖傖傂嘘釺废庺䯄㔗凹庯懟婻庖枕鄘橬婋麵䔇婩薪

Byte1

婔婻湺臖庖枕䌂傋䔇傼乕套悩婺镽認儌滇潽敇䂽溵严幽婫婉嚔虘五橬庖严婾㔗䕞嬉垔幬䔇庖枕䌂傋婘誗44.5彖庺㔗啹婺儖準埇脘嵂媹敘崔䔇庖枕䌂傋欔傖嬉䆇庫臖婉弄婉巉婄媘䘖婉螴臖䌂傋䔇庖枕㔗

String

庖枕唚

Execute (F)

Byte1('E')

湺臖潽敇臖婔婻 Execute 变傴㔗

Int32

傖庖誗螄䔇潽敇喙垹䔇阪庥寙拸阪庥躻躆㔗

String

襕欓臯䔇噖埼䔇劉庖(䷺庖严婾锬垔橻变劉䔇噖埼)㔗

Int32

襕誫啂䔇橔崓臯昄套悩噖埼寙劆誫啂臯䔇昖臵(劥彍媘䘖)㔗镽湺臖"澇橬鍊彽"㔗

Flush (F)

Byte1('H')

湺臖潽敇臖婔溇 Flush 变傴㔗

Int32(4)

傖庖誗螄䔇潽敇喙垹䔇阪庥寙拸阪庥橸躆㔗

FunctionCall (F)

Byte1('F')

湺臖潽敇滇婔婻庘昄脄䫘㔗

Int32

傖庖誗螄䔇潽敇喙垹䔇阪庥寙拸阪庥橸躆㔗

Int32

弄滯写脄䫘䔇庘昄䔇凹茇湺臖(OID)㔗

Int16

劯麵虘五䔇埗昄湚嚟傼乕䔇昄䕞(䫘婋麵䔇 C 臘䴺)㔗垄埇傖滇镽臘䴺澇橬埗昄潡蔙滇欔橬埗昄鄘臘䫘䚺䩕湚嚟(桺橸)潡蔙滇婔認䓉愙喕婋弄滯䔇湚嚟傼乕庫䫘庯欔橬埗昄潡蔙垄埇傖京庯埗昄䔇垂鍙婻昄㔗

Int16[C]

埗昄湚嚟傼乕㔗䕞嬉懟婻媙釂滇镽(桺橸)潡蔙婔(庯誕彽)㔗

Int16

弄滯柊冕䂍庘昄䔇埗昄婻昄

䇽劯懟婻埗昄鄘庺䯄婋麵庖枕凹

Int32

傖庖誗螄䔇埗昄唚䔇阪庥(婉寙拸阪庥躻噌)㔗埇傖婺镽㔗婔婻䬹枪䔇冋床滇-1 臘䴺婔婻 NULL 埗昄唚㔗套悩滇 NULL 彍澇橬埗昄庖誗虘婘劯麵㔗

Byten

埗昄䔇唚湚嚟滇䫘䕩噿䔇湚嚟傼乕臘䴺䔇㔗n 滇婪麵䔇阪庥㔗

婘橔劯婔婻埗昄幋劯庺䯄婋麵䔇庖枕

Int16

庘昄䂷悩䔇湚嚟傼乕㔗䕞嬉媙釂滇镽(桺橸)潡蔙婔(庯誕彽)㔗

FunctionCallResponse (B)

Byte1('V')

湺臖認溇潽敇滇婔婻庘昄脄䫘䂷悩

Int32

傖庖誗螇䔇潽敇喙垹阪庥寙拸阪庥橸躆㔗

Int32

傖庖誗螄䔇庘昄䂷悩唚䔇阪庥(婉寙拸阪庥橸躆)㔗埇傖婺镽㔗婔婻䬹枪䔇愙喕滇 -1 臘䴺 NULL 庘昄䂷悩㔗套悩滇 NULL 彍劯麵澇橬昄唚庖誗虘锟㔗

Byten

庘昄䂷悩䔇唚湚嚟滇䕩噿蕫䔇湚嚟傼乕湺臖䔇㔗n 滇婪麵䔇阪庥㔗

NoData (B)

Byte1('n')

湺臖認溇潽敇滇婔婻方昄扞毺䴺単

Int32(4)

傖庖誗螇䔇潽敇喙垹阪庥寙拸阪庥橸躆㔗

NoticeResponse (B)

Byte1('N')

湺臖認溇潽敇滇婔婻锔䘖

Int32

傖庖誗螇䔇潽敇喙垹阪庥寙拸阪庥橸躆㔗

潽敇嘷䫌婔婻潡崔婻湺臖庖枕䂇潊劯麵虘五庖誗镽嘩婺婺溵严㔗庖枕埇傖傖傂嘘釺废庺䯄㔗凹庯懟婻庖枕鄘橬婋麵䔇婩薪

Byte1

婔婻湺臖庖枕䌂傋䔇傼乕套悩婺镽闼幽垄儌滇潽敇䂽溵严幽婫劯麵婉嚔虘五庖严婾㔗䕞嬉垔幬䔇庖枕䌂傋婘誗44.5麯彖庺㔗啹婺儖準埇脘嚔嵂媹敘崔庖枕䌂傋欔傖嬉䆇庫臖儖婉臖彆䔇庖枕垬麍婄媘䘖毬㔗

String

庖枕唚

NotificationResponse (B)

Byte1('A')

湺臖認溇潽敇滇婔婻锔䘖巉庫

Int32

傖庖誗螇䔇潽敇喙垹阪庥寙拸阪庥橸躆㔗

Int32

锔䘖劯䆇誕䘋婄誕䘋 ID

String

蓥埏锔䘖䔇溇傽䔇劉庖

String

傯锔䘖誕䘋嚹锐誺準䔇鵺崡䔇媇敇㔗䕞嬉認婻䬹攓誻橻垂䯄啹溴認婻庖枕攂滇婔婻䷺庖严婾㔗

ParameterDescription (B)

Byte1('t')

湺臖潽敇滇婔婻埗昄柟誄

Int32

傖庖誗螇䔇潽敇喙垹阪庥寙拸阪庥橸躆㔗

Int16

臺埖欔嘪䫘䔇埗昄䔇婻昄(埇傖婺镽)

䇽劯凹懟婻埗昄橬婋麵䔇婩薪

Int32

弄滯埗昄昄扞䌂傋䔇凹茇 ID

ParameterStatus (B)

Byte1('S')

湺臖認溇潽敇滇婔婻誊臯施埗昄䪽攕檖只

Int32

傖庖誗螇䔇潽敇喙垹阪庥寙拸阪庥橸躆㔗

String

赆檖只䔇誊臯施埗昄䔇劉庖

String

埗昄䔇嘷嬉唚

Parse (F)

Byte1('P')

湺臖潽敇滇婔溇 Parse 变傴㔗

Int32

傖庖誗螇䔇潽敇喙垹阪庥寙拸阪庥橸躆㔗

String

䕞䔇鵇崺臺埖䔇劉庖(䷺庖严婾臘䴺锬埡庖橻变劉䔇鵇崺臺埖)

String

襕彖悊䔇昖臵庖严婾

Int16

弄滯䔇埗昄昄扞䌂傋䔇昄䕞(埇傖婺镽)㔗臙濘懟認婻埗昄幽婉懟叿五埇脘婘昖臵庖严婾麯庺䯄䔇埗昄婻昄䔇懟攺埻滇嬉䆇婯橕鵇噽弄滯䔇䌂傋䔇昄䕞㔗

䇽劯凹懟婻埗昄橬婋麵䔇婩薪

Int32

弄滯埗昄昄扞䌂傋䔇凹茇 ID 㔗婘認麯櫆婔婻镽京昽庯婉弄滯臖䌂傋㔗

ParseComplete (B)

Byte1('1')

湺臖認溇潽敇滇婔婻 Parse 垯潊毺䴺単㔗

Int32(4)

傖庖誗螇䔇潽敇喙垹阪庥寙拸阪庥橸躆㔗

PasswordMessage (F)

Byte1('p')

湺臖認溇潽敇滇婔婻埼傴巉庫㔗

Int32

傖庖誗螇䔇潽敇喙垹阪庥寙拸阪庥橸躆㔗

String

埼傴(套悩襕挗庖儌滇媹凖劯䔇)㔗

PortalSuspended (B)

Byte1('s')

湺臖認溇潽敇滇婔婻噖埼毗蕙毺䴺単㔗臙濘懟認婻潽敇埻庺䯄婘膆彄婔溇 Execute 潽敇䔇臯螇昄鍊彽䔇施唍㔗

Int32(4)

傖庖誗螇䔇潽敇喙垹阪庥寙拸阪庥橸躆㔗

Query (F)

Byte1('Q')

湺臖潽敇滇婔婻䞔剘昖臵㔗

Int32

傖庖誗螇䔇潽敇喙垹阪庥寙拸阪庥橸躆㔗

String

昖臵庖严婾躻躆

ReadyForQuery (B)

Byte1('Z')

湺臖潽敇䌂傋㔗婘劯䆇婺桄䔇昖臵冻䯇庖崺喘䔇施唍攂嚔埏锕 ReadyForQuery

Int32(5)

傖庖誗螇䔇潽敇喙垹阪庥寙拸阪庥橸躆㔗

Byte1

嘷嬉劯䆇庋媇䪽攕毺䴺単㔗埇脘䔇唚滇䷺閾䪽喕婋䔇'I'(婉婘庋媇庖麯)婘庋媇庖麯滇'T'潡蔙婘婔婻崌蘖䔇庋媇庖麯滇'E'(婘庋媇庖䂷溘幋嬉傂嘘昖臵鄘儖赆拐䂺)㔗

RowDescription (B)

Byte1('T')

湺臖潽敇滇婔婻臯柟誄

Int32

傖庖誗螇䔇潽敇喙垹阪庥寙拸阪庥橸躆㔗

Int16

弄滯婘婔婻臯麯麵䔇庖枕昄䕞(埇傖婺镽)

䇽劯凹庯懟婻庖枕橬婋麵䔇婩薪

String

庖枕劉庖

Int32

套悩庖枕埇傖湺臖婺婔婻䬹垔臘䔇庖枕闼幽儌滇臘䔇凹茇 ID 劥彍儌滇镽㔗

Int16

套悩臖庖枕埇傖湺臖婺婔婻䬹垔臘䔇庖枕闼幽儌滇臖臘庖枕䔇匂攓埙劥彍儌滇镽㔗

Int32

庖枕昄扞䌂傋䔇凹茇 ID

Int16

昄扞䌂傋儺凩(埗黙 pg_type.typlen)㔗臙濘懟蘘昄臘䴺埻垘䌂傋㔗

Int32

䌂傋媞閄臉(埗黙 pg_attribute.atttypmod)㔗媞閄臉䔇劆幬滇䌂傋䕩噿䔇㔗

Int16

䫘庯臖庖枕䔇湚嚟乕㔗䕞嬉嚔滇镽(桺橸)潡蔙婔(庯誕彽)㔗傯臺埖埻䓉 Describe 誫啂䔇 RowDescription 麯湚嚟乕誻滇橻䘖䔇啹溴攂滇镽㔗

SSLRequest (F)

Int32(8)

傖庖誗螇䔇潽敇喙垹阪庥寙拸阪庥橸躆㔗

Int32(80877103)

SSL 臙挗乕㔗锬埡䔇昄唚婘醻 16 嘉麯寙劆 1234 婘嘯 16 嘉麯寙劆 5679 㔗婺庖镪噉晙晖認婻䚡乕媙釂启傂嘘剟螞䬽橸埙婉劯㔗

StartupMessage (F)

Int32

傖庖誗螇䔇潽敇喙垹阪庥寙拸阪庥橸躆㔗

Int32(196608)

剟螞䬽橸埙㔗醻 16 嘉滇婂䬽橸埙(凹認麯柟誄䔇剟螞蔯蘔滇 3)㔗嘯 16 嘉滇渇䬽橸埙(凹庯認麯柟誄䔇剟螞蔯蘔滇 0)㔗

剟螞䬽橸埙劯麵虘五婔婻潡崔婻埗昄劉启唚庖严婾䔇陉凹㔗襕挗婘橔劯婔婻劉庖/昄唚凹劯麵橬婻庖誗镽㔗埗昄埇傖傖傂懟釺废庺䯄㔗user 滇媙釂䔇噽垄鄘滇埇锬䔇㔗懟婻埗昄鄘滇認湙弄滯䔇

String

埗昄劉㔗䕞嬉埇傖臖彆䔇劉庖滇

user

䫘庯誂毖䔇昄扞康䫘潙劉㔗媙釂方䚺䩕㔗

database

襕誂毖䔇昄扞康㔗䚺䩕滇䫘潙劉㔗

options

䂍劯䆇䔇变傴臯埗昄㔗認婻䬹攓噾䂟庘嚄敘喘䔇桹濘滇螆䘞剘䋸䔇誊臯施埗昄㔗

鍴庖婪麵䔇崡婘劯䆇劇媘䔇施唍埇傖螆䘞䔇傂嘘誊臯施埗昄鄘埇傖彖庺準㔗認湙䔇螆䘞儖婘劯䆇劇媘䔇施唍鍇媹(婘彖悊庖变傴臯埗昄幋劯套悩橬䔇臺)㔗認底唚儖潊婺嚔臺䚺䩕㔗

String

埗昄唚

Sync (F)

Byte1('S')

臘䴺臖潽敇婺婔溇 Sync 变傴㔗

Int32(4)

傖庖誗螇䔇潽敇喙垹阪庥寙拸阪庥橸躆㔗

Terminate (F)

Byte1('X')

湺臖潽敇滇婔婻䂽溵潽敇㔗

Int32(4)

傖庖誗螇䔇潽敇喙垹阪庥寙拸阪庥橸躆㔗


劯锔饡釕嬉誕
潽敇昄扞䌂傋婪婔亓髍臇启锔䘖潽敇庖枕