File tree Expand file tree Collapse file tree 3 files changed +14
-15
lines changed Expand file tree Collapse file tree 3 files changed +14
-15
lines changed Original file line number Diff line number Diff line change 418
418
createdb -p 5432 -h localhost testing
419
419
psql -p 5432 -h localhost -d testing -Xaf ${ ./nix/tests/prime.sql }
420
420
421
+ pg_prove -p 5432 -h localhost -d testing ${ sqlTests } /*.sql
421
422
422
- #pg_prove -p 5432 -h localhost -d testing ${ sqlTests } /*.sql
423
-
424
- mkdir -p $out/regression_output
423
+ mkdir -p $out/regression_output
425
424
pg_regress \
426
425
--use-existing \
427
426
--dbname=testing \
Original file line number Diff line number Diff line change 5
5
pg_catalog.pg_get_function_result(p.oid) as return_type
6
6
from
7
7
pg_catalog.pg_proc p
8
- join pg_catalog.pg_namespace n
9
- on n.oid = p.pronamespace
10
- join pg_catalog.pg_depend d
11
- on d.objid = p.oid
12
- join pg_catalog.pg_extension e
13
- on e.oid = d.refobjid
8
+ join pg_catalog.pg_namespace n
9
+ on n.oid = p.pronamespace
10
+ join pg_catalog.pg_depend d
11
+ on d.objid = p.oid
12
+ join pg_catalog.pg_extension e
13
+ on e.oid = d.refobjid
14
14
where
15
15
e.extname = 'postgis' -- replace with your extension name
16
16
and n.nspname = 'public'
Original file line number Diff line number Diff line change 5
5
pg_catalog .pg_get_function_result (p .oid ) as return_type
6
6
from
7
7
pg_catalog .pg_proc p
8
- join pg_catalog .pg_namespace n
9
- on n .oid = p .pronamespace
10
- join pg_catalog .pg_depend d
11
- on d .objid = p .oid
12
- join pg_catalog .pg_extension e
13
- on e .oid = d .refobjid
8
+ join pg_catalog .pg_namespace n
9
+ on n .oid = p .pronamespace
10
+ join pg_catalog .pg_depend d
11
+ on d .objid = p .oid
12
+ join pg_catalog .pg_extension e
13
+ on e .oid = d .refobjid
14
14
where
15
15
e .extname = ' postgis' -- replace with your extension name
16
16
and n .nspname = ' public'
You can’t perform that action at this time.
0 commit comments