mirror of
https://github.com/postgres/postgres.git
synced 2025-08-24 09:27:52 +03:00
Revert "In the pg_upgrade test suite, don't write to src/test/regress."
This reverts commit bd1592e857
. It had
multiple defects.
Discussion: https://postgr.es/m/12717.1558304356@sss.pgh.pa.us
This commit is contained in:
@@ -203,12 +203,12 @@ END;
|
||||
|
||||
SELECT lo_export(loid, '@abs_builddir@/results/lotest.txt') FROM lotest_stash_values;
|
||||
|
||||
\lo_import '@abs_builddir@/results/lotest.txt'
|
||||
\lo_import 'results/lotest.txt'
|
||||
|
||||
\set newloid :LASTOID
|
||||
|
||||
-- just make sure \lo_export does not barf
|
||||
\lo_export :newloid '@abs_builddir@/results/lotest2.txt'
|
||||
\lo_export :newloid 'results/lotest2.txt'
|
||||
|
||||
-- This is a hack to test that export/import are reversible
|
||||
-- This uses knowledge about the inner workings of large object mechanism
|
||||
@@ -223,7 +223,7 @@ TRUNCATE lotest_stash_values;
|
||||
|
||||
\lo_unlink :newloid
|
||||
|
||||
\lo_import '@abs_builddir@/results/lotest.txt'
|
||||
\lo_import 'results/lotest.txt'
|
||||
|
||||
\set newloid_1 :LASTOID
|
||||
|
||||
|
Reference in New Issue
Block a user