Skip to content

Commit 2d4df8f

Browse files
committed
Merge branch 'INDATA-152' of github.com:supabase/postgres into INDATA-152
* 'INDATA-152' of github.com:supabase/postgres: fix: fix up postgres_fdw test
2 parents 8083f1f + 5c949f8 commit 2d4df8f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

nix/tests/expected/postgres_fdw.out

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ https://github.com/supabase/postgres/blob/a638c6fce0baf90b654e762eddcdac1bc8df01
1010

1111
*/
1212
begin;
13+
-- Create the extension within the test (matches production pattern)
14+
create extension if not exists postgres_fdw with schema extensions;
1315
-- Switch to the postgres role (non-superuser) to test supautils behavior
1416
set role postgres;
1517
-- postgres_fdw should be owned by the superuser

nix/tests/sql/postgres_fdw.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ https://github.com/supabase/postgres/blob/a638c6fce0baf90b654e762eddcdac1bc8df01
1212

1313
begin;
1414

15+
-- Create the extension within the test (matches production pattern)
16+
create extension if not exists postgres_fdw with schema extensions;
17+
1518
-- Switch to the postgres role (non-superuser) to test supautils behavior
1619
set role postgres;
1720

0 commit comments

Comments
 (0)