Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
9cc2a71c
Commit
9cc2a71c
authored
Feb 23, 2007
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move BLCKSZ < 1024 check to guc.c.
parent
e7aa8ab2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
src/backend/utils/misc/guc.c
src/backend/utils/misc/guc.c
+5
-1
src/include/pg_config_manual.h
src/include/pg_config_manual.h
+1
-5
No files found.
src/backend/utils/misc/guc.c
View file @
9cc2a71c
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
* Written by Peter Eisentraut <peter_e@gmx.net>.
* Written by Peter Eisentraut <peter_e@gmx.net>.
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.37
6 2007/02/16 17:07:00 tgl
Exp $
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.37
7 2007/02/23 21:36:18 momjian
Exp $
*
*
*--------------------------------------------------------------------
*--------------------------------------------------------------------
*/
*/
...
@@ -3713,6 +3713,10 @@ parse_int(const char *value, int *result, int flags)
...
@@ -3713,6 +3713,10 @@ parse_int(const char *value, int *result, int flags)
endptr
+=
2
;
endptr
+=
2
;
}
}
#if BLCKSZ < 1024
#error BLCKSZ must be >= 1024
#endif
if
(
used
)
if
(
used
)
{
{
switch
(
flags
&
GUC_UNIT_MEMORY
)
switch
(
flags
&
GUC_UNIT_MEMORY
)
...
...
src/include/pg_config_manual.h
View file @
9cc2a71c
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
* for developers. If you edit any of these, be sure to do a *full*
* for developers. If you edit any of these, be sure to do a *full*
* rebuild (and an initdb if noted).
* rebuild (and an initdb if noted).
*
*
* $PostgreSQL: pgsql/src/include/pg_config_manual.h,v 1.2
5 2007/02/20 23:49:38
momjian Exp $
* $PostgreSQL: pgsql/src/include/pg_config_manual.h,v 1.2
6 2007/02/23 21:36:19
momjian Exp $
*------------------------------------------------------------------------
*------------------------------------------------------------------------
*/
*/
...
@@ -25,10 +25,6 @@
...
@@ -25,10 +25,6 @@
*/
*/
#define BLCKSZ 8192
#define BLCKSZ 8192
#if BLCKSZ < 1024
#error BLCKSZ must be >= 1024
#endif
/*
/*
* RELSEG_SIZE is the maximum number of blocks allowed in one disk
* RELSEG_SIZE is the maximum number of blocks allowed in one disk
* file. Thus, the maximum size of a single file is RELSEG_SIZE *
* file. Thus, the maximum size of a single file is RELSEG_SIZE *
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment