Skip to content

Commit

Permalink
Merge pull request #390 from Melkij/support_for_postgresql_17
Browse files Browse the repository at this point in the history
Support for postgresql 17
  • Loading branch information
Melkij authored Apr 14, 2024
2 parents 90da0a2 + be81503 commit cd7efb4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ jobs:
fail-fast: false
matrix:
pg:
- 17
- 16
- 15
- 14
Expand Down
4 changes: 2 additions & 2 deletions regress/expected/repack-check.out
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,15 @@ SELECT oid, relname
(0 rows)

-- check columns options
SELECT attname, attstattarget, attoptions
SELECT attname, nullif(attstattarget, -1) as attstattarget, attoptions
FROM pg_attribute
WHERE attrelid = 'tbl_idxopts'::regclass
AND attnum > 0
ORDER BY attnum;
attname | attstattarget | attoptions
---------+---------------+-------------------
i | 1 |
t | -1 | {n_distinct=-0.5}
t | | {n_distinct=-0.5}
(2 rows)

--
Expand Down
2 changes: 1 addition & 1 deletion regress/sql/repack-check.sql
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ SELECT oid, relname
AND reltoastrelid NOT IN (SELECT oid FROM pg_class WHERE relkind = 't');

-- check columns options
SELECT attname, attstattarget, attoptions
SELECT attname, nullif(attstattarget, -1) as attstattarget, attoptions
FROM pg_attribute
WHERE attrelid = 'tbl_idxopts'::regclass
AND attnum > 0
Expand Down

0 comments on commit cd7efb4

Please sign in to comment.