summaryrefslogtreecommitdiff
path: root/src/backend/backup/basebackup_copy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/backup/basebackup_copy.c')
-rw-r--r--src/backend/backup/basebackup_copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/backup/basebackup_copy.c b/src/backend/backup/basebackup_copy.c
index fee30c21e10..3bdbe1f9890 100644
--- a/src/backend/backup/basebackup_copy.c
+++ b/src/backend/backup/basebackup_copy.c
@@ -407,7 +407,7 @@ SendTablespaceList(List *tablespaces)
}
else
{
- values[0] = ObjectIdGetDatum(strtoul(ti->oid, NULL, 10));
+ values[0] = ObjectIdGetDatum(ti->oid);
values[1] = CStringGetTextDatum(ti->path);
}
if (ti->size >= 0)