postgresql/src/include/storage
Heikki Linnakangas 5762a4d909 Inherit max_safe_fds to child processes in EXEC_BACKEND mode.
Postmaster sets max_safe_fds by testing how many open file descriptors it
can open, and that is normally inherited by all child processes at fork().
Not so on EXEC_BACKEND, ie. Windows, however. Because of that, we
effectively ignored max_files_per_process on Windows, and always assumed
a conservative default of 32 simultaneous open files. That could have an
impact on performance, if you need to access a lot of different files
in a query. After this patch, the value is passed to child processes by
save/restore_backend_variables() among many other global variables.

It has been like this forever, but given the lack of complaints about it,
I'm not backpatching this.
2012-03-29 08:19:11 +03:00
..
backendid.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
barrier.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
block.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
buf.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
buf_internals.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
buffile.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
bufmgr.h New GUC, track_iotiming, to track I/O timings. 2012-03-27 14:55:02 -04:00
bufpage.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
copydir.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
fd.h Inherit max_safe_fds to child processes in EXEC_BACKEND mode. 2012-03-29 08:19:11 +03:00
freespace.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
fsm_internals.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
indexfsm.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
ipc.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
item.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
itemid.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
itemptr.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
large_object.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
latch.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
lmgr.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
lock.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
lwlock.h Rename LWLockWaitUntilFree to LWLockAcquireOrWait. 2012-02-08 09:17:13 +02:00
off.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
pg_sema.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
pg_shmem.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
pmsignal.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
pos.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
predicate.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
predicate_internals.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
proc.h Make group commit more effective. 2012-01-30 16:53:48 +02:00
procarray.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
procsignal.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
reinit.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
relfilenode.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
s_lock.h Add comments explaining why our Itanium spinlock implementation is safe. 2012-03-16 10:14:45 +02:00
shmem.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
sinval.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
sinvaladt.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
smgr.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
spin.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
standby.h Resolve timing issue with logging locks for Hot Standby. 2012-01-23 23:37:32 +00:00