Consistently use geteuid() not getuid(); there were a few places deviating
Tom Lane <tgl@sss.pgh.pa.us>
Consistently use geteuid() not getuid(); there were a few places deviating from our long-established standard.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/mSQL-interface/mpgsql.c | modified | +3 −2 |
| src/backend/libpq/be-secure.c | modified | +2 −2 |
| src/bin/initdb/initdb.c | modified | +3 −3 |
| src/bin/psql/help.c | modified | +2 −2 |
| src/bin/scripts/common.c | modified | +2 −2 |
| src/interfaces/libpq/fe-secure.c | modified | +2 −5 |