author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Fri, 14 Dec 2018 12:01:36 +0200 (2018-12-14) | |
changeset 2299 | fac6b2db427b |
parent 2298 | 34ffcffdc8df |
child 2300 | e538e158c38b |
postgres.rst | file | annotate | diff | comparison | revisions |
--- 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. ===================