mirror of
https://github.com/postgres/postgres.git
synced 2025-06-27 23:21:58 +03:00
Make setseed() return void, rather than an int4 without any use. Per
pgsql-patches discussion of September 20, 2006. Bump the catversion.
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user