mirror of
https://github.com/postgres/postgres.git
synced 2025-09-03 15:22:11 +03:00
Move BLCKSZ < 1024 check to guc.c.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
* Written by Peter Eisentraut <peter_e@gmx.net>.
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.376 2007/02/16 17:07:00 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.377 2007/02/23 21:36:18 momjian Exp $
|
||||
*
|
||||
*--------------------------------------------------------------------
|
||||
*/
|
||||
@@ -3713,6 +3713,10 @@ parse_int(const char *value, int *result, int flags)
|
||||
endptr += 2;
|
||||
}
|
||||
|
||||
#if BLCKSZ < 1024
|
||||
#error BLCKSZ must be >= 1024
|
||||
#endif
|
||||
|
||||
if (used)
|
||||
{
|
||||
switch (flags & GUC_UNIT_MEMORY)
|
||||
|
Reference in New Issue
Block a user