mirror of
https://github.com/postgres/postgres.git
synced 2025-07-11 10:01:57 +03:00
Add ALTER SYSTEM command to edit the server configuration file.
Patch contributed by Amit Kapila. Reviewed by Hari Babu, Masao Fujii, Boszormenyi Zoltan, Andres Freund, Greg Smith and others.
This commit is contained in:
@ -811,6 +811,13 @@ sendDir(char *path, int basepathlen, bool sizeonly)
|
||||
strlen(PG_TEMP_FILE_PREFIX)) == 0)
|
||||
continue;
|
||||
|
||||
/* skip auto conf temporary file */
|
||||
if (strncmp(de->d_name,
|
||||
PG_AUTOCONF_FILENAME ".temp",
|
||||
sizeof(PG_AUTOCONF_FILENAME) + 4) == 0)
|
||||
continue;
|
||||
|
||||
|
||||
/*
|
||||
* If there's a backup_label file, it belongs to a backup started by
|
||||
* the user with pg_start_backup(). It is *not* correct for this
|
||||
|
Reference in New Issue
Block a user