aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlogfuncs.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2022-09-13 10:45:43 +0900
committerMichael Paquier <michael@paquier.xyz>2022-09-13 10:45:43 +0900
commitbb629c294bea533884a379eee5f8ed6307c17bf2 (patch)
tree18ff471360ec228e19495f02a62a9ec91095e84b /src/backend/access/transam/xlogfuncs.c
parentee5353abb6124de5ffd24ef1cedbc2a7196d4fd5 (diff)
downloadpostgresql-bb629c294bea533884a379eee5f8ed6307c17bf2.tar.gz
postgresql-bb629c294bea533884a379eee5f8ed6307c17bf2.zip
Rename macro related to pg_backup_stop()
This should have been part of 39969e2 that has renamed pg_stop_backup() to pg_backup_stop(), and this one is the last reference to pg_stop/start_backup() I could find in the tree. Author: Bharath Rupireddy Discussion: https://postgr.es/m/CALj2ACXjvC28ppeDTCrfaSyHga0ggP5nRLJbsjx=7N-74UT4QA@mail.gmail.com
Diffstat (limited to 'src/backend/access/transam/xlogfuncs.c')
-rw-r--r--src/backend/access/transam/xlogfuncs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/access/transam/xlogfuncs.c b/src/backend/access/transam/xlogfuncs.c
index 9cc757f1aff..27aeb6e2819 100644
--- a/src/backend/access/transam/xlogfuncs.c
+++ b/src/backend/access/transam/xlogfuncs.c
@@ -104,10 +104,10 @@ pg_backup_start(PG_FUNCTION_ARGS)
Datum
pg_backup_stop(PG_FUNCTION_ARGS)
{
-#define PG_STOP_BACKUP_V2_COLS 3
+#define PG_BACKUP_STOP_V2_COLS 3
TupleDesc tupdesc;
- Datum values[PG_STOP_BACKUP_V2_COLS] = {0};
- bool nulls[PG_STOP_BACKUP_V2_COLS] = {0};
+ Datum values[PG_BACKUP_STOP_V2_COLS] = {0};
+ bool nulls[PG_BACKUP_STOP_V2_COLS] = {0};
bool waitforarchive = PG_GETARG_BOOL(0);
XLogRecPtr stoppoint;