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

Commit71aeaf2

Browse files
committed
Update alternative expected output file.
Previous commit added a test to 'largeobject', but neglected thealternative expected output file 'largeobject_1.source'. Per failureon buildfarm animal 'hamerkop'.Discussion:https://www.postgresql.org/message-id/DBA08346-9962-4706-92D1-230EE5201C10@yesql.se
1 parent8f32afe commit71aeaf2

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

‎src/test/regress/output/largeobject_1.source

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,17 @@ SELECT lo_open(loid, x'40000'::int) from lotest_stash_values;
161161
(1 row)
162162

163163
ABORT;
164+
DO $$
165+
DECLARE
166+
loid oid;
167+
BEGIN
168+
SELECT tbl.loid INTO loid FROM lotest_stash_values tbl;
169+
PERFORM lo_export(loid, '@abs_builddir@/results/invalid/path');
170+
EXCEPTION
171+
WHEN UNDEFINED_FILE THEN RAISE NOTICE 'could not open file, as expected';
172+
END;
173+
$$;
174+
NOTICE: could not open file, as expected
164175
-- Test truncation.
165176
BEGIN;
166177
UPDATE lotest_stash_values SET fd=lo_open(loid, CAST(x'20000' | x'40000' AS integer));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp