diff options
author | Daniel Gustafsson <dgustafsson@postgresql.org> | 2023-12-08 13:42:54 +0100 |
---|---|---|
committer | Daniel Gustafsson <dgustafsson@postgresql.org> | 2023-12-08 13:42:54 +0100 |
commit | 00edb2061fcf288574b7b5c0be67fab71f7e136b (patch) | |
tree | 3000f26c5202029a794d1bd6389fcaa564e2406c /src/backend/access/gist/gist.c | |
parent | 44913add91e789884e207f19c1d7ec067f23f6d5 (diff) | |
download | postgresql-00edb2061fcf288574b7b5c0be67fab71f7e136b.tar.gz postgresql-00edb2061fcf288574b7b5c0be67fab71f7e136b.zip |
Don't clean initdb files on template creation failure
Commit 252dcb32397f6 introduced initdb template caching to speed up
tests by re-using initdb output. The initdb command didn't however
use the --no-clean option to preserve generated data in case initdb
crashes unlike pg_regress which does do this. This adds the option
to initdb to aid debugging.
While changing the commandline, switch to using long options for
initdb to make the code more self-documenting.
Author: Matthias van de Meent <boekewurm+postgres@gmail.com>
Discussion: https://postgr.es/m/CAEze2WhSTjfK_M+Ea4GSQp8odrEOaQS8HyORd1TJUEiyXaB+rw@mail.gmail.com
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions