Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
170e331c
Commit
170e331c
authored
16 years ago
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Sigh ... pg_config.h.win32 needs to define BLCKSZ and RELSEG_SIZE now.
parent
3c6248a8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/include/pg_config.h.win32
+22
-0
22 additions, 0 deletions
src/include/pg_config.h.win32
with
22 additions
and
0 deletions
src/include/pg_config.h.win32
+
22
−
0
View file @
170e331c
...
@@ -37,6 +37,15 @@
...
@@ -37,6 +37,15 @@
/* The alignment requirement of a `short'. */
/* The alignment requirement of a `short'. */
#define ALIGNOF_SHORT 2
#define ALIGNOF_SHORT 2
/* Size of a disk block --- this also limits the size of a tuple. You can set
it bigger if you need bigger tuples (although TOAST should reduce the need
to have large tuples, since fields can be spread across multiple tuples).
BLCKSZ must be a power of 2. The maximum possible value of BLCKSZ is
currently 2^15 (32768). This is determined by the 15-bit widths of the
lp_off and lp_len fields in ItemIdData (see include/storage/itemid.h).
Changing BLCKSZ requires an initdb. */
#define BLCKSZ 8192
/* Define to the default TCP port number on which the server listens and to
/* Define to the default TCP port number on which the server listens and to
which clients will try to connect. This can be overridden at run-time, but
which clients will try to connect. This can be overridden at run-time, but
it's convenient if your clients have the right default compiled in.
it's convenient if your clients have the right default compiled in.
...
@@ -591,6 +600,19 @@
...
@@ -591,6 +600,19 @@
your system. */
your system. */
/* #undef PTHREAD_CREATE_JOINABLE */
/* #undef PTHREAD_CREATE_JOINABLE */
/* RELSEG_SIZE is the maximum number of blocks allowed in one disk file. Thus,
the maximum size of a single file is RELSEG_SIZE * BLCKSZ; relations bigger
than that are divided into multiple files. RELSEG_SIZE * BLCKSZ must be
less than your OS' limit on file size. This is often 2 GB or 4GB in a
32-bit operating system, unless you have large file support enabled. By
default, we make the limit 1 GB to avoid any possible integer-overflow
problems within the OS. A limit smaller than necessary only means we divide
a large relation into more chunks than necessary, so it seems best to err
in the direction of a small limit. A power-of-2 value is recommended to
save a few cycles in md.c, but is not absolutely required. Changing
RELSEG_SIZE requires an initdb. */
#define RELSEG_SIZE 131072
/* The size of a `size_t', as computed by sizeof. */
/* The size of a `size_t', as computed by sizeof. */
#define SIZEOF_SIZE_T 4
#define SIZEOF_SIZE_T 4
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment