传递给
pg_result_error_field()
。
严重程度;字段内容是
ERROR
、
FATAL
或
PANIC
(在 error 消息中)或
WARNING
、
NOTICE
、
DEBUG
、
INFO
或
LOG
(在 notice 消息中),或其中之一的本地化翻译。始终存在。
传递给
pg_result_error_field()
。
This is defined the same as the
PG_DIAG_STATEMENT_POSITION
field, but
it is used when the cursor position refers to an internally generated
command rather than the one submitted by the client. The
PG_DIAG_INTERNAL_QUERY
field will always appear when this
field appears.
传递给
pg_result_error_field()
。
An indication of the context in which the error occurred. Presently
this includes a call stack traceback of active procedural language
functions and internally-generated queries. The trace is one entry
per line, most recent first.
传递给
pg_insert()
、
pg_select()
、
pg_update()
和
pg_delete()
。将转义应用于所有参数,而不是在内部调用
pg_convert()
。此选项省略元数据查找。查询可能与
pg_query()
和
pg_send_query()
一样快。