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

pgsql: Mark to_char(timestamp without timezone) as stable, not

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Mark to_char(timestamp without timezone) as stable, not
Date: 2006-11-28 19:18:44
Message-ID: 20061128191844.814BD9FB24A@postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Mark to_char(timestamp without timezone) as stable, not immutable, since its
result now depends on the lc_messages setting, as noted by Bruce.
Also, mark to_number() and the numeric-type variants of to_char() as stable,
because their results depend on lc_numeric; this is a longstanding oversight.
Also, mark to_date() and to_char(interval) as stable; although these appear
not to depend on any GUC variables as of CVS HEAD, that seems a property
unlikely to survive future improvements.  It seems best to mark all the
formatting functions stable and be done with it.
catversion not bumped, because this does not seem critical enough to force
a post-RC1 initdb, and anyway we cannot do so in the back branches.

Modified Files:
--------------
    pgsql/src/include/catalog:
        pg_proc.h (r1.428 -> r1.429)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/catalog/pg_proc.h.diff?r1=1.428&r2=1.429)

pgsql-committers by date

Next:From: Tom LaneDate: 2006-11-28 19:18:56
Subject: pgsql: Mark to_number() and the numeric-type variants of to_char() as
Previous:From: User AndrewdDate: 2006-11-28 17:24:24
Subject: pgbuildfarm - client-code: add Makefile to automate cutting a release.

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