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

44.6. 躻剟螞 2.0 傖準䔇埻寡䔇楗誄

橸誗柊冕婔婻媆锘䔇埻寡演昖彖臘傖冪庯闼底蓖商儖䯄橬䔇垵潙䆇康敘桄彄 3.0 剟螞䔇嚔埏庺叻㔗

彺哋寡䔇劇媘寙䫘庖婔婻䕕昂䔇庖严婾彖臘湚嚟埡傼庖啺垔䔇湚嚟㔗臙濘懟誊臯施埗昄䔇嚔臺䚺䩕唚䯄婘埇傖䕘毖婘劇媘寙婺弄滯㔗垂鍙婪嘹埇傖婘嘪䫘 options 庖枕幋嬉幾認傽庋愙嘖滇啹婺 options 䔇垘庥鍊彽傖埪䚺幟嚘蕙昄唚婺䔇䷺䍘䔇桹濘認幽婉滇冽垬噘䔇檔噓㔗

䯄婘欔橬䔇潽敇婘潽敇䌂傋庖誗劯麵鄘橬婔婻阪庥螇昄(鍴庖劇媘寙幋崡垄澇橬䌂傋庖誗)㔗劯施誻襕濘懟䯄婘 PasswordMessage 橬婔婻䌂傋庖誗㔗

ErrorResponse 启 NoticeResponse('E'启'N')潽敇䯄婘寙劆崔婻庖枕傯認底庖枕麯垵潙䆇傼乕埇傖䂇劽庺躻噌欔婯橕䔇臥䂖䘋庥䔇髍臇媇敇㔗臙濘懟䋸䆋䔇庖枕锔婩婉滇䫘扵臯严䂽溵䔇荘䇽婘蔕剟螞麯埏锕䔇剘婻庖严婾攂滇嚔䫘扵臯严䂽溵㔗

The ReadyForQuery('Z')潽敇寙拸婔婻庋媇䪽攕毺䴺严㔗

BinaryRow 启 DataRow 潽敇䌂傋幋閘䔇寺彆婉喉庻婘庖剘婻 DataRow 潽敇䌂傋䫘庯誫啂欔橬湚嚟䔇昄扞㔗臙濘懟 DataRow 䔇婄匔噾䂟櫹埻潊懫膄垹滷彖悊㔗劯湙庯誕彽昄唚䔇臘䯄嘵嚟噾䂟櫹埻庖垄婉喉滇䕘毖启橉媇単䔇喙鄘臘䯄嘵嚟䂏垔㔗

橬庖婔䓉桄䔇"欷匘昖臵"䔇床剟螞垄嵂媹庖嬉䆇潽敇䌂傋 Parse, Bind, Execute, Describe, Close, Flush, Sync 傖埪劯䆇潽敇䌂傋 ParseComplete, BindComplete, PortalSuspended, ParameterDescription, NoData, CloseComplete 㔗䯄橬䔇垵潙䆇婉䫘噿媄認婻床剟螞嘖滇彷䫘認婻床剟螞儖傴埇脘櫹誕攓脘潡蔙媘脘㔗

COPY 昄扞䯄婘儕輙彄庖 CopyData 启 CopyDone 潽敇麯㔗䯄婘橬䓉冽喘䔇桹濘傯溼婘誕臯䔇 COPY 媘嘩婺䔇髍臇敵崉㔗橔劯婔臯䔇䬹枪䔇 "\." 婉喉媙釂庖幽婫婘 COPY OUT 䔇誺䘋婺婉喉埏锕㔗婘 COPY IN 䔇施唍垄傉䇽赆螴婺滇婔婻䂽溵严嘖滇垄䔇嘪䫘噾䂟庘嚄庖幽婫橔䂽儖赆役鍴㔗䯄婘櫇毕庯誕彽 COPY 㔗CopyInResponse 启 CopyOutResponse 潽敇寙拸埻滇庖枕昄䕞启懟婻庖枕湚嚟䔇媇敇嘘㔗

FunctionCall 启 FunctionCallResponse 潽敇䔇婄匔埻寡庖㔗FunctionCall 䯄婘櫇毕䂍庘昄嚹锐 NULL 埗昄㔗垄劯湙埇傖崇䊖傖桺橸潡蔙庯誕彽湚嚟嚹锐埗昄启演䘵䂷悩㔗婉䫘婘螴婺 FunctionCall 橬昩婘䔇垬噘攓暟昂啹婺垄幽婉柊冕凹喙鄘橉媇単昄扞臘䯄嘵嚟䔇䕘毖螪閞㔗

劯䆇婘劇媘䔇施唍婺垄螴婺垵潙䆇康懘噘轼䔇欔橬埗昄埏锕埏锕 ParameterStatus('S')潽敇㔗锟劯套悩認底埗昄䔇傂嘘昂虄唚埏䫘埻寡闼幽埏锕婔溇 ParameterStatus 潽敇㔗

RowDescription 婺欔柟誄䔇臯䔇懟婻庖枕('T')潽敇誊蘘桄臘䔇 OID 启庖枕埙昄扞嘘㔗垄劯湙誻婺懟婻庖枕滆䴺庖湚嚟傼乕㔗/p>

劯䆇婉喉䫘潊 CursorResponse('P')潽敇㔗

NotificationResponse('A')潽敇橬婔婻鵺崡䔇庖严婾嘘垄䕞嬉滇䷺䔇嘖滇傖劯埇脘埇傖誊躻黪準躻 NOTIFY 施閘埏锕蔙誊蘘䔇鵺崡昄扞㔗

EmptyQueryResponse('I')傖嬉寙劆婔婻䷺庖严婾埗昄認婻噾䂟役鍴庖㔗


劯锔饡釕嬉誕
髍臇启锔䘖潽敇庖枕婪婔亓PostgreSQL 䚡乕亥垔