Skip to content
Snippets Groups Projects
Commit 3a1969ef authored by Michael Paquier's avatar Michael Paquier
Browse files

wal_utils: Fix incorrect comment in regression tests

This was referring to COPY, which was used at some point. At the same
time, fix an incorrect error code.
parent a433c6b4
No related branches found
No related tags found
No related merge requests found
-- Tests for parsing of WAL history file
CREATE TABLE history_data (data text);
-- Note that COPY truncates newlines.
-- Load history file that succeeds
INSERT INTO history_data VALUES (
'# Ignore this comment
Loading
Loading
Loading
Loading
@@ -2,7 +2,6 @@
 
CREATE TABLE history_data (data text);
 
-- Note that COPY truncates newlines.
-- Load history file that succeeds
INSERT INTO history_data VALUES (
'# Ignore this comment
Loading
Loading
Loading
Loading
@@ -461,7 +461,7 @@ check_and_build_filepath(char *filename)
archive_path = getenv("PGARCHIVE");
if (archive_path == NULL)
ereport(ERROR,
(errcode(ERRCODE_FDW_INVALID_OPTION_NAME),
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
errmsg("archive path is not defined"),
errhint("Check value of environment variable %s",
"PGARCHIVE")));
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment