Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit31845dd

Browse files
committed
Fix abstime-to-time cast function, which has had broken implementation
since 7.2, per bug #947. Turns out it had wrong volatility label, too.Can't force initdb in 7.3 branch, but fix anyway for future installs.
1 parent0b88b63 commit31845dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/include/catalog/pg_proc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: pg_proc.h,v 1.292 2003/04/08 23:20:03 tgl Exp $
10+
* $Id: pg_proc.h,v 1.293 2003/04/17 04:50:20 tgl Exp $
1111
*
1212
* NOTES
1313
* The script catalog/genbki.sh reads this file and generates .bki
@@ -1698,7 +1698,7 @@ DESCR("less-equal-greater");
16981698
DATA(insertOID=1359 (timestamptzPGNSPPGUID12fftfi21184"1082 1266"datetimetz_timestamptz-_null_ ));
16991699
DESCR("convert date and time with time zone to timestamp with time zone");
17001700

1701-
DATA(insertOID=1364 (timePGNSPPGUID14fftfi11083"702""selecttime(cast($1 as timestamp without time zone))"-_null_ ));
1701+
DATA(insertOID=1364 (timePGNSPPGUID14fftfs11083"702""selectcast(cast($1 as timestamp without time zone) as time)"-_null_ ));
17021702
DESCR("convert abstime to time");
17031703

17041704
DATA(insertOID=1367 (character_lengthPGNSPPGUID12fftfi123"1042"bpcharlen-_null_ ));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp