Skip to content

Commit 5193bdf

Browse files
committed
readme
1 parent 27ea9a1 commit 5193bdf

30 files changed

+787
-787
lines changed

FOOTER.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* [@pgsql/utils](https://www.npmjs.com/package/@pgsql/utils): A comprehensive utility library for PostgreSQL, offering type-safe AST node creation and enum value conversions, simplifying the construction and manipulation of PostgreSQL ASTs.
99
* [@pgsql/traverse](https://www.npmjs.com/package/@pgsql/traverse): PostgreSQL AST traversal utilities for pgsql-parser, providing a visitor pattern for traversing PostgreSQL Abstract Syntax Tree nodes, similar to Babel's traverse functionality but specifically designed for PostgreSQL AST structures.
1010
* [pg-proto-parser](https://www.npmjs.com/package/pg-proto-parser): A TypeScript tool that parses PostgreSQL Protocol Buffers definitions to generate TypeScript interfaces, utility functions, and JSON mappings for enums.
11-
* [libpg-query](https://github.com/launchql/libpg-query-node): The real PostgreSQL parser exposed for Node.js, used primarily in `pgsql-parser` for parsing and deparsing SQL queries.
11+
* [libpg-query](https://github.com/constructive-io/libpg-query-node): The real PostgreSQL parser exposed for Node.js, used primarily in `pgsql-parser` for parsing and deparsing SQL queries.
1212

1313
## Disclaimer
1414

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# pgsql-parser
22

33
<p align="center" width="100%">
4-
<img height="120" src="https://github.com/launchql/pgsql-parser/assets/545047/6440fa7d-918b-4a3b-8d1b-755d85de8bea" />
4+
<img height="120" src="https://github.com/constructive-io/pgsql-parser/assets/545047/6440fa7d-918b-4a3b-8d1b-755d85de8bea" />
55
</p>
66

77

88
<p align="center" width="100%">
9-
<a href="https://github.com/launchql/pgsql-parser/actions/workflows/run-tests.yaml">
10-
<img height="20" src="https://github.com/launchql/pgsql-parser/actions/workflows/run-tests.yaml/badge.svg" />
9+
<a href="https://github.com/constructive-io/pgsql-parser/actions/workflows/run-tests.yaml">
10+
<img height="20" src="https://github.com/constructive-io/pgsql-parser/actions/workflows/run-tests.yaml/badge.svg" />
1111
</a>
1212
<a href="https://www.npmjs.com/package/pgsql-parser"><img height="20" src="https://img.shields.io/npm/dt/pgsql-parser"></a>
1313
<a href="https://www.npmjs.com/package/pgsql-parser"><img height="20" src="https://img.shields.io/npm/dw/pgsql-parser"/></a>
14-
<a href="https://github.com/launchql/pgsql-parser/blob/main/LICENSE-MIT"><img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"/></a>
14+
<a href="https://github.com/constructive-io/pgsql-parser/blob/main/LICENSE-MIT"><img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"/></a>
1515
</p>
1616

1717
## PostgreSQL Parsing, Deparsing & AST Tools
@@ -269,7 +269,7 @@ console.log(await deparse(query));
269269
* [@pgsql/utils](https://www.npmjs.com/package/@pgsql/utils): A comprehensive utility library for PostgreSQL, offering type-safe AST node creation and enum value conversions, simplifying the construction and manipulation of PostgreSQL ASTs.
270270
* [@pgsql/traverse](https://www.npmjs.com/package/@pgsql/traverse): PostgreSQL AST traversal utilities for pgsql-parser, providing a visitor pattern for traversing PostgreSQL Abstract Syntax Tree nodes, similar to Babel's traverse functionality but specifically designed for PostgreSQL AST structures.
271271
* [pg-proto-parser](https://www.npmjs.com/package/pg-proto-parser): A TypeScript tool that parses PostgreSQL Protocol Buffers definitions to generate TypeScript interfaces, utility functions, and JSON mappings for enums.
272-
* [libpg-query](https://github.com/launchql/libpg-query-node): The real PostgreSQL parser exposed for Node.js, used primarily in `pgsql-parser` for parsing and deparsing SQL queries.
272+
* [libpg-query](https://github.com/constructive-io/libpg-query-node): The real PostgreSQL parser exposed for Node.js, used primarily in `pgsql-parser` for parsing and deparsing SQL queries.
273273

274274
## Disclaimer
275275

__fixtures__/kitchen-sink/misc/issues.sql

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- https://github.com/launchql/pgsql-parser/issues/131
1+
-- https://github.com/constructive-io/pgsql-parser/issues/131
22
select from test_table WHERE status = 'complete'::text;
33
select from test_table WHERE status = 'complete';
44

@@ -18,15 +18,15 @@ CREATE TABLE new_style (
1818
);
1919
ALTER TABLE new_style ADD CONSTRAINT uq_val1_val2_new UNIQUE NULLS NOT DISTINCT (val1, val2);
2020

21-
-- https://github.com/launchql/pgsql-parser/issues/128
21+
-- https://github.com/constructive-io/pgsql-parser/issues/128
2222
INSERT INTO
2323
public.people (id, name, epithet, is_great, gender, type_id, date_of_birth, date_of_death, place_of_birth, place_of_death, biography, canonical_status_id, image_url, source_url)
2424
VALUES
2525
(1, 'Asterius', 'of Amasea', FALSE, 'M', 1, '0350-01-01', '0410-01-01', 'Cappadocia', 'Amasea', NULL, 1, NULL, NULL),
2626
(2, 'Ausonius', NULL, FALSE, 'M', 1, '0310-01-01', '0395-01-01', 'Burdigala', NULL, NULL, NULL, NULL, NULL)
2727
ON CONFLICT DO NOTHING;
2828

29-
-- https://github.com/launchql/pgsql-parser/issues/52
29+
-- https://github.com/constructive-io/pgsql-parser/issues/52
3030
CREATE TABLE public.ci_builds_runner_session (
3131
id bigint NOT NULL,
3232
build_id integer NOT NULL,
@@ -35,10 +35,10 @@ CREATE TABLE public.ci_builds_runner_session (
3535
"authorization" character varying
3636
);
3737

38-
-- https://github.com/launchql/pgsql-parser/issues/50
38+
-- https://github.com/constructive-io/pgsql-parser/issues/50
3939
COMMENT ON COLUMN public.posts.reply_to_post_number IS 'If this post is a reply to another, this column is the post_number of the post it''s replying to. [FKEY posts.topic_id, posts.post_number]';
4040

41-
-- https://github.com/launchql/pgsql-parser/issues/48
41+
-- https://github.com/constructive-io/pgsql-parser/issues/48
4242
CREATE TABLE "Album"
4343
(
4444
"AlbumId" INT NOT NULL,
@@ -47,31 +47,31 @@ CREATE TABLE "Album"
4747
CONSTRAINT "PK_Album" PRIMARY KEY ("AlbumId")
4848
);
4949

50-
-- https://github.com/launchql/pgsql-parser/issues/47
50+
-- https://github.com/constructive-io/pgsql-parser/issues/47
5151
CREATE INDEX "existing_undispatched_message" ON public.messages USING btree ("context_id", context_type, notification_name, "to", user_id);
5252

53-
-- https://github.com/launchql/pgsql-parser/issues/124
53+
-- https://github.com/constructive-io/pgsql-parser/issues/124
5454
COMMENT ON COLUMN "foo"."whatever" IS $$
5555
Something blah, this data may have chars like '\n' and '\r' in it.
5656
$$;
5757

58-
-- https://github.com/launchql/pgsql-parser/issues/127
58+
-- https://github.com/constructive-io/pgsql-parser/issues/127
5959
SELECT * from foo.bar.baz;
6060

61-
-- https://github.com/launchql/pgsql-parser/issues/123
61+
-- https://github.com/constructive-io/pgsql-parser/issues/123
6262
CREATE AGGREGATE json_agg_strict(anyelement)(
6363
SFUNC = json_agg_strict_sfunc,
6464
STYPE = jsonb,
6565
FINALFUNC = json_agg_strict_finalfunc,
6666
INITCOND = '[]'
6767
);
6868

69-
-- https://github.com/launchql/pgsql-parser/issues/62
69+
-- https://github.com/constructive-io/pgsql-parser/issues/62
7070
SELECT (1 IS NOT NULL) IS DISTINCT FROM (2 IS NOT NULL);
7171

72-
-- https://github.com/launchql/pgsql-parser/issues/101
72+
-- https://github.com/constructive-io/pgsql-parser/issues/101
7373
select "A" from "table_name";
7474
select "AA" from "table_name";
7575

76-
-- https://github.com/launchql/pgsql-parser/issues/217
76+
-- https://github.com/constructive-io/pgsql-parser/issues/217
7777
SELECT CAST(t.date AT TIME ZONE $$America/New_York$$ AS text)::date FROM tbl t;

__fixtures__/kitchen-sink/misc/missing-types.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- https://github.com/launchql/pgsql-parser/issues/219
1+
-- https://github.com/constructive-io/pgsql-parser/issues/219
22
ALTER PUBLICATION "my_publication" OWNER TO "postgres";
33

44
-- Missing ObjectType cases for AlterOwnerStmt testing

__fixtures__/kitchen-sink/pretty/misc.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,5 +231,5 @@ ALTER DEFAULT PRIVILEGES IN SCHEMA dashboard_jobs
231231
GRANT EXECUTE ON FUNCTION dashboard_private.uuid_generate_seeded_uuid TO PUBLIC;
232232

233233

234-
-- https://github.com/launchql/pgsql-parser/issues/217
234+
-- https://github.com/constructive-io/pgsql-parser/issues/217
235235
SELECT CAST(t.date AT TIME ZONE $$America/New_York$$ AS text)::date FROM tbl t;

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"registry": "https://registry.npmjs.org",
1212
"command": {
1313
"create": {
14-
"homepage": "https://github.com/launchql/pgsql-parser",
14+
"homepage": "https://github.com/constructive-io/pgsql-parser",
1515
"license": "MIT",
1616
"access": "restricted"
1717
},

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "pgsql-parser",
33
"version": "0.0.1",
4-
"author": "Dan Lynch <[email protected]>",
4+
"author": "Constructive <[email protected]>",
55
"private": true,
66
"repository": {
77
"type": "git",
8-
"url": "https://github.com/launchql/pgsql-parser"
8+
"url": "https://github.com/constructive-io/pgsql-parser"
99
},
1010
"license": "MIT",
1111
"publishConfig": {

0 commit comments

Comments
 (0)