]> granicus.if.org Git - postgresql/commit
Mark new text<->date, text<->time, text<->timetz conversion functions as
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 27 Feb 2001 20:34:10 +0000 (20:34 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 27 Feb 2001 20:34:10 +0000 (20:34 +0000)
commitf5ea88ac6e7d927b9d29f5cc44aad4032f20a036
tree51cd293ad5f3848a029a647e0bf7155fa3790a33
parentca22223e82d86a34a2cc1ec51a5d43f2523a4512
Mark new text<->date, text<->time, text<->timetz conversion functions as
noncachable, so that CURRENT_DATE and CURRENT_TIME work as functions
again, rather than being collapsed to constants immediately.  Marking the
reverse conversions noncachable might be overkill, but I'm not sure;
do these datatypes have the notion of a CURRENT value?  Better safe than
sorry, for now.
src/include/catalog/pg_proc.h