Re: creating constants in postgres - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: creating constants in postgres
Date
Msg-id Pine.LNX.4.30.0104271709550.758-100000@peter.localdomain
Whole thread Raw
In response to creating constants in postgres  ("Thomas F. O'Connell" <tfo@monsterlabs.com>)
List pgsql-general
Thomas F. O'Connell writes:

> is there in postgres a way to create a constant like CURRENT_DATE for
> general use?

Those things are just functions with a special syntax.  No, it's not
easily possible to create more such functions, but it's easy to create
regular functions.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


pgsql-general by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: rotating log files
Next
From: Peter Eisentraut
Date:
Subject: Re: caching/ virtual file systems