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

44.5. 髍臇启锔䘖潽敇庖枕

橸誗柟誄闼底埇脘庺䯄婘 ErrorResponse 启 NoticeResponse 潽敇麯䔇庖枕㔗懟婻庖枕䌂傋橬婔婻剘庖誗湺臖螄埙㔗臙濘懟傂懟䂍垔䔇庖枕䌂傋婘懟溇媇敇麯鄘庫臖橔崔庺䯄婔渇㔗

S

婖麉攓臖庖枕䔇喙垹滇 ERROR, FATAL, PANIC(婘婔婻髍臇潽敇麯), WARNING, NOTICE, DEBUG, INFO, LOG(婘婔溇锔䘖潽敇麯)幋婔潡蔙滇認底䔇昊䓉橸婄寡䪂臏䔇庖严婾㔗攂滇嚔庺䯄㔗

C

傼乕髍臇䔇 SQLSTATE 傼乕(埗黙鍇嘘A)㔗婉脘橸婄寡㔗攂滇庺䯄㔗

M

潽敇庺䌂埇臂䔇髍臇媇敇䔇婂嘷㔗認底媇敇庫臖庖䇞幽婫䞔昕(锔婩滇婔臯)㔗攂滇庺䯄㔗

D

䂖誗婔婻埇锬䔇傯匂髍臇媇敇欪蘘橬噿閞鵻䔇敘崔髍臇潽敇㔗埇傖滇崔臯㔗

H

柊䴺婔婻埇锬䔇橬噿套嘘崇䊖閞鵻䔇傺螞㔗垄启䂖誗婉劯䔇婄桹滇垄柊庺庖傺螞(埇脘幽婉劽锗)蔯婉備備滇庋垂㔗埇傖滇崔臯㔗

P

嘉䘞認婻庖枕唚滇婔婻剕誕彽 ASCII 昘昄臘䴺婔婻髍臇橩湺䔇嘉䘞垄滇婔婻毺劏寘哋昖臵庖严婾䔇䘵嚘㔗丸婔婻庖严䔇䘵嚘滇 1 嘉䘞滇傖庖严螇䞖蔯麂庖誗螇䞖䔇㔗

p

喙鄘嘉䘞認婻嘘启 P 嘘垔幬䕩劯嘖滇垄䫘庯橩湺䔇嘉䘞毺劏婔婻喙鄘䫘潊䔇变傴蔯婉滇䫘庯垵潙䆇柊庴䔇变傴㔗認婻庖枕庺䯄䔇施唍攂滇嚔庺䯄 q 庖枕㔗

q

喙鄘昖臵崌昽䔇喙鄘䫘潊䔇变傴䔇桺橸㔗懫套垄埇脘滇婔婻 PL/pgSQL 庘昄埏庺䔇 SQL 昖臵㔗

W

巻麯婔婻毺䴺髍臇埏䫘䔇䯇嵄䔇毺䴺単㔗䕞嬉認婻埗昄寙劆婔婻昂虄䔇誺䘋臺蘔庘昄䔇脄䫘幖湽䔇誘溇启喙鄘䫘潊䔇昖臵㔗認婻誘溇懟溇螄嘘婔臯橔桄䔇婘橔婪麵㔗

F

桺傽欔檖只髍臇婘溊傼乕婺䔇嘉䘞㔗

L

臯檖只䔇髍臇欔婘䔇溊傼乕䔇嘉䘞䔇臯埙㔗

R

誺䘋檖只髍臇䔇誺䘋婘溊傼乕婺䔇劉庖㔗

垵潙䆇蘘蘼凹滆䴺媇敇誕臯湚嚟寡膷庺傖严劽驔襕䬹彆滇垄庫臖湹扞驔襕桺嚔阪䔇臯㔗婘髍臇媇敇庖枕麯庺䯄䔇扵臯严庫臖嘷嘩婔婻彖枕䔇严埙蔯婉滇扵臯㔗


劯锔饡釕嬉誕
潽敇湚嚟婪婔亓躻剟螞 2.0 傖準䔇埻寡䔇楗誄