Skip to content

Commit 279e434

Browse files
committed
Fix post_init on PG17
1 parent a5a2380 commit 279e434

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

scripts/post_init.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ cd "$(dirname "${BASH_SOURCE[0]}")" || exit 1
44

55
PGVER=$(psql -d "$2" -XtAc "SELECT pg_catalog.current_setting('server_version_num')::int/10000")
66
if [ "$PGVER" -ge 12 ]; then RESET_ARGS="oid, oid, bigint"; fi
7+
if [ "$PGVER" -ge 17 ]; then RESET_ARGS="oid, oid, bigint, boolean"; fi
78

89
(
910
cat - <<SQL

0 commit comments

Comments
 (0)