|
- <function>current_database()>
+ <literal>current_database()>
name
name of current database
|
- <function>current_schema()>
+ <literal>current_schema()>
name
name of current schema
|
- <function>current_schemas(boolean)>
+ <literal>current_schemas(boolean)>
name[]
names of schemas in search path optionally including implicit schemas
|
- <function>current_user>
+ <literal>current_user>
name
user name of current execution context
|
- <function>inet_client_addr()>
+ <literal>inet_client_addr()>
inet
address of the remote connection
|
- <function>inet_client_port()>
+ <literal>inet_client_port()>
int4
port of the remote connection
|
- <function>inet_server_addr()>
+ <literal>inet_server_addr()>
inet
address of the local connection
|
- <function>inet_server_port()>
+ <literal>inet_server_port()>
int4
port of the local connection
|
- <function>session_user>
+ <literal>session_user>
name
session user name
|
- <function>pg_postmaster_start_time()>
+ <literal>pg_postmaster_start_time()>
timestamp with time zone
postmaster> start time
|
- <function>user>
+ <literal>user>
name
equivalent to current_user
|
- <function>version()>
+ <literal>version()>
text
- PostgreSQL version information
+
PostgreSQL> version information