Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit d5ab068

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

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)