PostgreSQL/User Previliege/Current User — различия между версиями

Материал из SQL эксперт
Перейти к: навигация, поиск
м (1 версия)
 
(нет различий)

Версия 16:45, 26 мая 2010

Displays the current user logged in

   <source lang="sql">

postgres=# postgres=# -- Displays the current user logged in: postgres=# postgres=# SELECT CURRENT_USER AS myself;

 myself

postgres

(1 row) postgres=#

      </source>