Skip to content

NOT for merge — previous PG13 additions compared to new PG17 #142

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions __fixtures__/drops.sql
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,16 @@ DROP DOMAIN IF EXISTS no_such_schema.foo;
DROP FOREIGN TABLE IF EXISTS no_such_schema.foo;

DROP INDEX IF EXISTS no_such_schema.foo;
DROP INDEX my_index;
DROP INDEX CONCURRENTLY my_index;
DROP INDEX IF EXISTS my_index;
DROP INDEX CONCURRENTLY IF EXISTS my_index;
DROP INDEX schema.my_index;
DROP INDEX CONCURRENTLY schema.my_index;
DROP INDEX CONCURRENTLY IF EXISTS schema.my_index;
DROP INDEX my_index CASCADE;
DROP INDEX CONCURRENTLY my_index CASCADE;
DROP INDEX CONCURRENTLY IF EXISTS my_index CASCADE;
DROP MATERIALIZED VIEW IF EXISTS no_such_schema.foo;

-- DROP OPERATOR IF EXISTS no_such_schema.+ (int, int);
Expand Down
4 changes: 3 additions & 1 deletion __fixtures__/indexes/custom.sql
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ CREATE UNIQUE INDEX uniq_service_when_not_null
ON schema2.table3 (uid, svc)
WHERE svc IS NOT NULL;

CREATE UNIQUE INDEX new_unique_idx ON new_example(a, b) INCLUDE (c);
CREATE UNIQUE INDEX new_unique_idx ON new_example(a, b) INCLUDE (c);

CREATE INDEX CONCURRENTLY idx_with_operator ON boom.merkle_tree USING GIN ( name gin_trgm_ops ( param1 = 32, param2 = true) );
4 changes: 3 additions & 1 deletion __fixtures__/misc.sql
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ create table if not exists users (
handle text not null,
created_at timestamp not null default now(),
updated_at timestamp not null default now()
)
);

CREATE INDEX CONCURRENTLY IF NOT EXISTS index_email_logs_on_created_at ON public.email_logs USING btree (created_at DESC);
12 changes: 12 additions & 0 deletions packages/deparser/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [13.16.0](https://github.com/launchql/pgsql-parser/compare/[email protected]@13.16.0) (2025-06-21)


### Bug Fixes

* support concurrently in DROP INDEX ([6d78dbe](https://github.com/launchql/pgsql-parser/commit/6d78dbe8cbc1b1ceb08aba5826edb50f7259ba01))
* support create index if not exists ([60f309f](https://github.com/launchql/pgsql-parser/commit/60f309f6c83bf30ba7b6858dbf2afbbaf4b648c4))





# [13.15.0](https://github.com/launchql/pgsql-parser/compare/[email protected]@13.15.0) (2024-04-04)

**Note:** Version bump only for package pgsql-deparser
Expand Down
Loading