mirror of
https://github.com/postgres/postgres.git
synced 2026-02-21 17:00:40 -05:00
Write the file to a temporary name and then rename() it into the permanent name, to ensure it can't end up half-written and corrupt in case of a crash during shutdown. Unlink the file after it has been read so it's removed from the data directory and not included in base backups going to replication slaves. |
||
|---|---|---|
| .. | ||
| Makefile | ||
| pg_stat_statements--1.0.sql | ||
| pg_stat_statements--unpackaged--1.0.sql | ||
| pg_stat_statements.c | ||
| pg_stat_statements.control | ||