diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2021-11-03 19:38:17 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2021-11-03 19:38:17 +0200 |
commit | d5ab0681bf1bbf6c0c2cba9a2d55fe8e080597b6 (patch) | |
tree | 43f37c36580a2987a5b7a18ccfd9db9f309475c4 /src | |
parent | 6b1b405ebfdce9da47f59d8d4144b1168709fbce (diff) | |
download | postgresql-d5ab0681bf1bbf6c0c2cba9a2d55fe8e080597b6.tar.gz postgresql-d5ab0681bf1bbf6c0c2cba9a2d55fe8e080597b6.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/test/regress/output/largeobject_1.source | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/regress/output/largeobject_1.source b/src/test/regress/output/largeobject_1.source index ec01f3e4784..cb910e2eefd 100644 --- a/src/test/regress/output/largeobject_1.source +++ b/src/test/regress/output/largeobject_1.source @@ -161,6 +161,17 @@ SELECT lo_open(loid, x'40000'::int) from lotest_stash_values; (1 row) 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. BEGIN; UPDATE lotest_stash_values SET fd=lo_open(loid, CAST(x'20000' | x'40000' AS integer)); |