Re: creating constants in postgres

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: "Thomas F(dot) O'Connell" <tfo(at)monsterlabs(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: creating constants in postgres
Date: 2001-04-27 15:10:37
Message-ID: Pine.LNX.4.30.0104271709550.758-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joseph Koenig 2001-04-27 15:14:41 General usage for pg_dumpall
Previous Message Len Morgan 2001-04-27 14:52:26 Re: SQL Where Like - Range it?!