Skip site navigation (1) Skip section navigation (2)

Re: overriding current_timestamp

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: "David E(dot) Wheeler" <david(at)justatheory(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: overriding current_timestamp
Date: 2012-02-27 12:29:32
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On tor, 2012-02-23 at 10:54 -0800, David E. Wheeler 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.

In response to


pgsql-hackers by date

Next:From: Peter EisentrautDate: 2012-02-27 12:29:54
Subject: Re: overriding current_timestamp
Previous:From: Peter GeogheganDate: 2012-02-27 12:26:33
Subject: Re: Re: pg_stat_statements normalisation without invasive changes to the parser (was: Next steps on pg_stat_statements normalisation)

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group