Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mytherin committed Jan 23, 2024
1 parent 72b22ed commit a29edc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/all_pg_types.sql
Original file line number Diff line number Diff line change
Expand Up @@ -219,4 +219,4 @@ CREATE TABLE big_generated_table AS SELECT * FROM generate_series(0,999999);
create table geometry(p point, l line, ls lseg, b box, pa path, poly polygon, c circle);
insert into geometry values ('(1,2)', '{1,2,3}', '(1,2,3,4)', '1,2,3,4', '1,2,3,4', '1,2,3,4,5,6,7,8', '1, 2, 3');
insert into geometry values ('(-1.5,-2.5)', '{-1.5,-2.5,-3.5}', '[(-1.5,-2.5),(-3.5,-4.5)]', '(-1.5,-2.5,-3.5,-4.5)', '(1,2),(3,4),(-1.5,-2.5)', '(-1.5,-2.5,-3.5,-4.5)', '<(1, 2), 3>');
insert into geometry values (NULL, NULL, NULL, NULL, NULL, NULL, NULL);
insert into geometry values (NULL, NULL, NULL, NULL, NULL, NULL, NULL);
6 changes: 2 additions & 4 deletions test/sql/storage/attach_geometry.test
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@
# description: Test built-in geometry types
# group: [storage]


statement ok
LOAD '/Users/myth/Programs/duckdb-bugfix/build/debug/extension/postgres_scanner/postgres_scanner.duckdb_extension'
require postgres_scanner

require-env POSTGRES_TEST_DATABASE_AVAILABLE

statement ok
PRAGMA enable_verification

statement ok
ATTACH 'dbname=postgres' AS s1 (TYPE POSTGRES)
ATTACH 'dbname=postgresscanner' AS s1 (TYPE POSTGRES)

query IIIIIII
SELECT * FROM s1.geometry;
Expand Down

0 comments on commit a29edc1

Please sign in to comment.