mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-04 22:57:20 +02:00
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
This commit is contained in:
parent
11a399f9cf
commit
7dc9a310e5
@ -161,6 +161,17 @@ SELECT lo_open(loid, x'40000'::int) from lotest_stash_values;
|
|||||||
(1 row)
|
(1 row)
|
||||||
|
|
||||||
ABORT;
|
ABORT;
|
||||||
|
DO $$
|
||||||
|
DECLARE
|
||||||
|
loid oid;
|
||||||
|
BEGIN
|
||||||
|
SELECT tbl.loid INTO loid FROM lotest_stash_values tbl;
|
||||||
|
PERFORM lo_export(loid, '@abs_builddir@/results/invalid/path');
|
||||||
|
EXCEPTION
|
||||||
|
WHEN UNDEFINED_FILE THEN RAISE NOTICE 'could not open file, as expected';
|
||||||
|
END;
|
||||||
|
$$;
|
||||||
|
NOTICE: could not open file, as expected
|
||||||
-- Test truncation.
|
-- Test truncation.
|
||||||
BEGIN;
|
BEGIN;
|
||||||
UPDATE lotest_stash_values SET fd=lo_open(loid, CAST(x'20000' | x'40000' AS integer));
|
UPDATE lotest_stash_values SET fd=lo_open(loid, CAST(x'20000' | x'40000' AS integer));
|
||||||
|
Loading…
Reference in New Issue
Block a user