]> granicus.if.org Git - postgresql/commit
Use symbolic names not octal constants for file permission flags.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 10 Dec 2010 22:35:33 +0000 (17:35 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 10 Dec 2010 22:35:33 +0000 (17:35 -0500)
commit04f4e10cfc158239ca00a6ed6a84428c7acb1e6d
treeae472ab34aa4121a81f252bfc2ee14aea9fdaee7
parent244407a7103498d687c8e4ea96b83044f95f0893
Use symbolic names not octal constants for file permission flags.

Purely cosmetic patch to make our coding standards more consistent ---
we were doing symbolic some places and octal other places.  This patch
fixes all C-coded uses of mkdir, chmod, and umask.  There might be some
other calls I missed.  Inconsistency noted while researching tablespace
directory permissions issue.
src/backend/access/transam/xlog.c
src/backend/commands/copy.c
src/backend/commands/tablespace.c
src/backend/libpq/be-fsstubs.c
src/backend/postmaster/postmaster.c
src/backend/postmaster/syslogger.c
src/backend/storage/file/copydir.c
src/backend/storage/ipc/ipc.c
src/bin/initdb/initdb.c
src/bin/pg_ctl/pg_ctl.c