| From: | Raymond O'Donnell <rod(at)iol(dot)ie> |
|---|---|
| To: | Dane Foster <studdugie(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org |
| Subject: | Re: A table of magic constants |
| Date: | 2015-07-11 19:21:29 |
| Message-ID: | 55A16CB9.50807@iol.ie |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On 11/07/2015 20:07, Dane Foster wrote:
<snip>
> As a recent convert to the Church of Postgres I've been consuming vast
Welcome to the One True Faith! :-)
> amounts of information on PostgreSQL, and SESSION_USER is not the first
> nor only, what I'm calling magic constant, that I've seen. Off the top
> of my head, other examples that I've encountered are CURRENT_USER and
> CURRENT_TIMESTAMP.
>
> So my question is this, is there a reference table in the documentation
> that I haven't found yet that lists all magic constants and their
> meaning? And if not in the official documentation is it in the wiki?
session_user, current_timestamp and current_user are all functions, not
magic constants:
http://www.postgresql.org/docs/9.4/static/functions-datetime.html
http://www.postgresql.org/docs/9.4/static/functions-info.html
I hope this helps,
Ray.
--
Raymond O'Donnell :: Galway :: Ireland
rod(at)iol(dot)ie
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Adrian Klaver | 2015-07-11 19:54:34 | Re: A table of magic constants |
| Previous Message | Dane Foster | 2015-07-11 19:07:52 | A table of magic constants |