Thread: pgsql-server: Replace direct fprintf(stderr) calls by write_stderr(),
pgsql-server: Replace direct fprintf(stderr) calls by write_stderr(),
From
tgl@svr1.postgresql.org (Tom Lane)
Date:
Log Message: ----------- Replace direct fprintf(stderr) calls by write_stderr(), and cause this routine to do something appropriate on Win32. Also, add a security check on Win32 that parallels the can't-run-as-root check on Unix. Magnus Hagander Modified Files: -------------- pgsql-server/src/backend/bootstrap: bootstrap.c (r1.184 -> r1.185) (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/bootstrap/bootstrap.c.diff?r1=1.184&r2=1.185) pgsql-server/src/backend/main: main.c (r1.86 -> r1.87) (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/main/main.c.diff?r1=1.86&r2=1.87) pgsql-server/src/backend: nls.mk (r1.12 -> r1.13) (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/nls.mk.diff?r1=1.12&r2=1.13) pgsql-server/src/backend/port/win32: Makefile (r1.4 -> r1.5) (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/port/win32/Makefile.diff?r1=1.4&r2=1.5) signal.c (r1.3 -> r1.4) (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/port/win32/signal.c.diff?r1=1.3&r2=1.4) pgsql-server/src/backend/postmaster: postmaster.c (r1.404 -> r1.405) (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/postmaster/postmaster.c.diff?r1=1.404&r2=1.405) pgsql-server/src/backend/tcop: postgres.c (r1.420 -> r1.421) (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/tcop/postgres.c.diff?r1=1.420&r2=1.421) pgsql-server/src/backend/utils/error: assert.c (r1.26 -> r1.27) (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/utils/error/assert.c.diff?r1=1.26&r2=1.27) elog.c (r1.141 -> r1.142) (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/utils/error/elog.c.diff?r1=1.141&r2=1.142) pgsql-server/src/backend/utils/misc: help_config.c (r1.11 -> r1.12) (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/utils/misc/help_config.c.diff?r1=1.11&r2=1.12) pgsql-server/src/include/port: win32.h (r1.25 -> r1.26) (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/include/port/win32.h.diff?r1=1.25&r2=1.26) pgsql-server/src/include/utils: elog.h (r1.68 -> r1.69) (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/include/utils/elog.h.diff?r1=1.68&r2=1.69) Added Files: ----------- pgsql-server/src/backend/port/win32: security.c (r1.1) (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/port/win32/security.c?rev=1.1&content-type=text/x-cvsweb-markup)