Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit943b447

Browse files
committed
Fix new COPY test of PL/pgSQL with VPATH builds
The buildfarm has turned red after1858b10 because VPATH builds need touse "@abs_srcdir@" and not "@abs_builddir@" for paths coming directlyfrom the source tree. The input file of the new test got that right,but not the output file.Per complaints from several buildfarm animals, including desmoxytes andculicidae. I have also reproduced the error by myself.
1 parent1858b10 commit943b447

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/pl/plpgsql/src/output/plpgsql_copy.source

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ CONTEXT: PL/pgSQL function inline_code_block line 3 at EXECUTE
3232
-- COPY FROM
3333
DO LANGUAGE plpgsql $$
3434
BEGIN
35-
COPY copy1 FROM '@abs_builddir@/data/copy1.data';
35+
COPY copy1 FROM '@abs_srcdir@/data/copy1.data';
3636
END;
3737
$$;
3838
SELECT * FROM copy1 ORDER BY 1;
@@ -46,7 +46,7 @@ SELECT * FROM copy1 ORDER BY 1;
4646
TRUNCATE copy1;
4747
DO LANGUAGE plpgsql $$
4848
BEGIN
49-
EXECUTE 'COPY copy1 FROM ''@abs_builddir@/data/copy1.data''';
49+
EXECUTE 'COPY copy1 FROM ''@abs_srcdir@/data/copy1.data''';
5050
END;
5151
$$;
5252
SELECT * FROM copy1 ORDER BY 1;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp