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

Commitaef0f53

Browse files
author
Neil Conway
committed
Make setseed() return void, rather than an int4 without any use. Per
pgsql-patches discussion of September 20, 2006. Bump the catversion.
1 parentebef17c commitaef0f53

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

‎src/backend/utils/adt/float.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/utils/adt/float.c,v 1.147 2007/01/16 21:41:13 neilc Exp $
11+
* $PostgreSQL: pgsql/src/backend/utils/adt/float.c,v 1.148 2007/01/20 21:47:10 neilc Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -1787,7 +1787,7 @@ setseed(PG_FUNCTION_ARGS)
17871787

17881788
srandom((unsignedint)iseed);
17891789

1790-
PG_RETURN_INT32(iseed);
1790+
PG_RETURN_VOID();
17911791
}
17921792

17931793

‎src/include/catalog/catversion.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
3838
* Portions Copyright (c) 1994, Regents of the University of California
3939
*
40-
* $PostgreSQL: pgsql/src/include/catalog/catversion.h,v 1.373 2007/01/2009:27:19 petere Exp $
40+
* $PostgreSQL: pgsql/src/include/catalog/catversion.h,v 1.374 2007/01/2021:47:10 neilc Exp $
4141
*
4242
*-------------------------------------------------------------------------
4343
*/
@@ -53,6 +53,6 @@
5353
*/
5454

5555
/*yyyymmddN */
56-
#defineCATALOG_VERSION_NO200701201
56+
#defineCATALOG_VERSION_NO200701202
5757

5858
#endif

‎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-2007, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/include/catalog/pg_proc.h,v 1.438 2007/01/2009:27:19 petere Exp $
10+
* $PostgreSQL: pgsql/src/include/catalog/pg_proc.h,v 1.439 2007/01/2021:47:10 neilc Exp $
1111
*
1212
* NOTES
1313
* The script catalog/genbki.sh reads this file and generates .bki
@@ -2134,7 +2134,7 @@ DESCR("compare");
21342134

21352135
DATA(insertOID=1598 (randomPGNSPPGUID12fftfv0701""_null__null__null_drandom-_null_ ));
21362136
DESCR("random value");
2137-
DATA(insertOID=1599 (setseedPGNSPPGUID12fftfv123"701"_null__null__null_setseed-_null_ ));
2137+
DATA(insertOID=1599 (setseedPGNSPPGUID12fftfv12278"701"_null__null__null_setseed-_null_ ));
21382138
DESCR("set random seed");
21392139

21402140
/* OIDS 1600 - 1699 */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp