changeset 2299:fac6b2db427b

List misc info.
author Oleksandr Gavenko <gavenkoa@gmail.com>
date Fri, 14 Dec 2018 12:01:36 +0200
parents 34ffcffdc8df
children e538e158c38b
files postgres.rst
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/postgres.rst	Thu Dec 13 10:29:15 2018 +0200
+++ b/postgres.rst	Fri Dec 14 12:01:36 2018 +0200
@@ -67,6 +67,19 @@
 List users::
 
   \du
+  \du+
+
+List misc info::
+
+  select current_database();
+  select current_schema();
+  select current_user;
+  select session_user;
+  select current_date;
+  select version();
+
+https://www.postgresql.org/docs/current/functions-info.html
+  System Information Functions.
 
 Set default schema.
 ===================