diff options
author | Neil Conway <neilc@samurai.com> | 2007-01-20 21:47:10 +0000 |
---|---|---|
committer | Neil Conway <neilc@samurai.com> | 2007-01-20 21:47:10 +0000 |
commit | aef0f53b62eeb1ce183add7bde53d9764915e05d (patch) | |
tree | 588fe62c873861bca82ba1e8dc759b68e4661951 /src | |
parent | ebef17c7a2f69c932f19381837a8a152fc8b84f2 (diff) | |
download | postgresql-aef0f53b62eeb1ce183add7bde53d9764915e05d.tar.gz postgresql-aef0f53b62eeb1ce183add7bde53d9764915e05d.zip |
Make setseed() return void, rather than an int4 without any use. Per
pgsql-patches discussion of September 20, 2006. Bump the catversion.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/utils/adt/float.c | 4 | ||||
-rw-r--r-- | src/include/catalog/catversion.h | 4 | ||||
-rw-r--r-- | src/include/catalog/pg_proc.h | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/utils/adt/float.c b/src/backend/utils/adt/float.c index fe3cc8215ed..a123d106fac 100644 --- a/src/backend/utils/adt/float.c +++ b/src/backend/utils/adt/float.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/utils/adt/float.c,v 1.147 2007/01/16 21:41:13 neilc Exp $ + * $PostgreSQL: pgsql/src/backend/utils/adt/float.c,v 1.148 2007/01/20 21:47:10 neilc Exp $ * *------------------------------------------------------------------------- */ @@ -1787,7 +1787,7 @@ setseed(PG_FUNCTION_ARGS) srandom((unsigned int) iseed); - PG_RETURN_INT32(iseed); + PG_RETURN_VOID(); } diff --git a/src/include/catalog/catversion.h b/src/include/catalog/catversion.h index 896f1513fb8..7e2b19cc9e8 100644 --- a/src/include/catalog/catversion.h +++ b/src/include/catalog/catversion.h @@ -37,7 +37,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/catalog/catversion.h,v 1.373 2007/01/20 09:27:19 petere Exp $ + * $PostgreSQL: pgsql/src/include/catalog/catversion.h,v 1.374 2007/01/20 21:47:10 neilc Exp $ * *------------------------------------------------------------------------- */ @@ -53,6 +53,6 @@ */ /* yyyymmddN */ -#define CATALOG_VERSION_NO 200701201 +#define CATALOG_VERSION_NO 200701202 #endif diff --git a/src/include/catalog/pg_proc.h b/src/include/catalog/pg_proc.h index f22a0d15b89..d8f121aaaee 100644 --- a/src/include/catalog/pg_proc.h +++ b/src/include/catalog/pg_proc.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/catalog/pg_proc.h,v 1.438 2007/01/20 09:27:19 petere Exp $ + * $PostgreSQL: pgsql/src/include/catalog/pg_proc.h,v 1.439 2007/01/20 21:47:10 neilc Exp $ * * NOTES * The script catalog/genbki.sh reads this file and generates .bki @@ -2134,7 +2134,7 @@ DESCR("compare"); DATA(insert OID = 1598 ( random PGNSP PGUID 12 f f t f v 0 701 "" _null_ _null_ _null_ drandom - _null_ )); DESCR("random value"); -DATA(insert OID = 1599 ( setseed PGNSP PGUID 12 f f t f v 1 23 "701" _null_ _null_ _null_ setseed - _null_ )); +DATA(insert OID = 1599 ( setseed PGNSP PGUID 12 f f t f v 1 2278 "701" _null_ _null_ _null_ setseed - _null_ )); DESCR("set random seed"); /* OIDS 1600 - 1699 */ |