On mån, 2012-02-27 at 08:48 -0800, David E. Wheeler wrote: > On Feb 27, 2012, at 4:29 AM, Peter Eisentraut wrote: > > >> I create a "mock" schema, add the function to it, and then put it in the > >> search_path ahead of pg_catalog. > > > > That doesn't work for current_timestamp and similar built-in functions, > > because they are always mapped to the pg_catalog schema. > > I use it for NOW() all the time.
But it won't work for current_timestamp. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers