Skip to content

Commit 71aeaf2

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 8f32afe commit 71aeaf2

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy