mirror of
https://github.com/postgres/postgres.git
synced 2026-02-25 10:50:50 -05:00
The fsync code from the backend essentially assumes that somebody's already validated PGDATA, at least to the extent of it being a readable directory. That's safe enough for initdb's normal code path too, but "initdb -S" doesn't have any other processing at all that touches the target directory. To have reasonable error-case behavior, add a pg_check_dir call. Per gripe from Peter E. |
||
|---|---|---|
| .. | ||
| initdb | ||
| pg_basebackup | ||
| pg_config | ||
| pg_controldata | ||
| pg_ctl | ||
| pg_dump | ||
| pg_resetxlog | ||
| pgevent | ||
| psql | ||
| scripts | ||
| Makefile | ||