Re: Special table names

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Marcin Krol <mrkafk(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Special table names
Date: 2010-02-26 14:51:38
Message-ID: 26736.1267195898@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Marcin Krol <mrkafk(at)gmail(dot)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

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Michael Wood 2010-02-26 14:54:48 Re: Special table names
Previous Message Marcin Krol 2010-02-26 13:35:22 Re: Special table names