Movatterモバイル変換


[0]ホーム

URL:



Facebook
Postgres Pro
Facebook
Downloads
48.68. pg_prepared_statements
Prev UpChapter 48. System CatalogsHome Next

48.68. pg_prepared_statements

Thepg_prepared_statements view displays all the prepared statements that are available in the current session. SeePREPARE for more information about prepared statements.

pg_prepared_statements contains one row for each prepared statement. Rows are added to the view when a new prepared statement is created and removed when a prepared statement is released (for example, via theDEALLOCATE command).

Table 48.69. pg_prepared_statements Columns

NameTypeDescription
nametext The identifier of the prepared statement
statementtext The query string submitted by the client to create this prepared statement. For prepared statements created via SQL, this is thePREPARE statement submitted by the client. For prepared statements created via the frontend/backend protocol, this is the text of the prepared statement itself.
prepare_timetimestamptz The time at which the prepared statement was created
parameter_typesregtype[] The expected parameter types for the prepared statement in the form of an array ofregtype. The OID corresponding to an element of this array can be obtained by casting theregtype value tooid.
from_sqlbooleantrue if the prepared statement was created via thePREPARE SQL command;false if the statement was prepared via the frontend/backend protocol

Thepg_prepared_statements view is read only.


Prev Home Next
48.67. pg_policies Up 48.69. pg_prepared_xacts
pdfepub
Go to Postgres Pro Standard 9.6
By continuing to browse this website, you agree to the use of cookies. Go toPrivacy Policy.

[8]ページ先頭

©2009-2025 Movatter.jp