Correct broken entries for pg_proc OIDs 1364 (time(abstime))
and 1370 (timestamp(datetime)). This does not force an initdb, exactly, but you won't see the effects of the bug fix until you do one. BTW, OID 1358 for timespan(time) is still broken: select timespan('21:11:26'::time); ERROR: No such function 'time_timespan' with the specified attributes But I couldn't figure out what it ought to be defined as, so I left it be.
This commit is contained in:
parent
9202c4f798
commit
1f14a9de74
@ -6,7 +6,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: pg_proc.h,v 1.100 1999/07/15 23:03:43 momjian Exp $
|
||||
* $Id: pg_proc.h,v 1.101 1999/08/29 01:35:11 tgl Exp $
|
||||
*
|
||||
* NOTES
|
||||
* The script catalog/genbki.sh reads this file and generates .bki
|
||||
@ -1641,7 +1641,7 @@ DATA(insert OID = 1362 ( time PGUID 14 f t f 1 f 1083 "1083" 100 0 0 100 "
|
||||
DESCR("convert (noop)");
|
||||
DATA(insert OID = 1363 ( time PGUID 11 f t f 1 f 1083 "1184" 100 0 0 100 datetime_time - ));
|
||||
DESCR("convert datetime to time");
|
||||
DATA(insert OID = 1364 ( time PGUID 14 f t f 1 f 1083 "702" 100 0 0 100 "select abstime_time($1)" - ));
|
||||
DATA(insert OID = 1364 ( time PGUID 14 f t f 1 f 1083 "702" 100 0 0 100 "select time(datetime($1))" - ));
|
||||
DESCR("convert abstime to time");
|
||||
DATA(insert OID = 1365 ( abstime PGUID 14 f t f 1 f 702 "702" 100 0 0 100 "select $1" - ));
|
||||
DESCR("convert (noop)");
|
||||
@ -1653,7 +1653,7 @@ DATA(insert OID = 1368 ( reltime PGUID 11 f t f 1 f 703 "1186" 100 0 0 100
|
||||
DESCR("convert timespan to reltime");
|
||||
DATA(insert OID = 1369 ( timestamp PGUID 14 f t f 1 f 1296 "1296" 100 0 0 100 "select $1" - ));
|
||||
DESCR("convert (noop)");
|
||||
DATA(insert OID = 1370 ( timestamp PGUID 14 f t f 1 f 1296 "1184" 100 0 0 100 "select datetime_stamp($1)" - ));
|
||||
DATA(insert OID = 1370 ( timestamp PGUID 11 f t f 1 f 1296 "1184" 100 0 0 100 datetime_timestamp - ));
|
||||
DESCR("convert datetime to timestamp");
|
||||
DATA(insert OID = 1371 ( length PGUID 11 f t f 1 f 23 "25" 100 0 0 100 textlen - ));
|
||||
DESCR("character length");
|
||||
|
Loading…
x
Reference in New Issue
Block a user