]> granicus.if.org Git - postgresql/commit
Determine max_connections first, then see how large shared_buffers can
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 13 Oct 2003 21:06:44 +0000 (21:06 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 13 Oct 2003 21:06:44 +0000 (21:06 +0000)
commit87299583a5004df4b563226349c906f2184dd1b0
treed74ce815dbafc1f7050e31bb9765311ecff0b974
parente7261c46aa5df5cfc03e5ca4091d3b9bd675c824
Determine max_connections first, then see how large shared_buffers can
be made, to avoid corner cases where max_connections ends up unreasonably
small because shared_buffers is hogging too much shmem space.  Per pghackers
discussion about a week ago.  Also, fix the copy-newlines problem in a
more robust way, by using COPY FROM filename instead of COPY FROM STDIN;
per a suggestion from Peter.
src/bin/initdb/initdb.sh