Re: Special table names

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Special table names
Дата
Msg-id 26736.1267195898@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Special table names  (Marcin Krol <mrkafk@gmail.com>)
Ответы Re: Special table names  (Michael Wood <esiotrot@gmail.com>)
Re: Special table names  (Marcin Krol <mrkafk@gmail.com>)
Список pgsql-novice
Marcin Krol <mrkafk@gmail.com> writes:
> Michael Wood wrote:
>> In addition to what Andreas said, try "\dS" (and "\?").

> Thanks, that's useful -- but that still doesn't let me tell where 'user'
> table (view? alias?) comes from.

It isn't a table.  It's a function, equivalent to CURRENT_USER.

(Both of those are mandated by the SQL spec; we'd certainly never have
invented functions called without parentheses on our own desires.)

            regards, tom lane

В списке pgsql-novice по дате отправления:

Предыдущее
От: Marcin Krol
Дата:
Сообщение: Re: Special table names
Следующее
От: Michael Wood
Дата:
Сообщение: Re: Special table names