Skip to content

Commit bc5651c

Browse files
committed
Merge branch 'mhoffm-add-real-world-corpus'
2 parents acc5784 + 73932c3 commit bc5651c

File tree

418 files changed

+113427
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

418 files changed

+113427
-0
lines changed

.github/workflows/node.js.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ jobs:
3737
exit 1
3838
fi
3939
- run: npm test
40+
- name: Parse real world examples (ignoring errors for now)
41+
continue-on-error: true
42+
run: npm acceptance
4043

4144
compile:
4245
strategy:
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- automate-gh-pages # Set a branch name to trigger deployment
7+
pull_request:
8+
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-20.04
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}
14+
steps:
15+
- uses: actions/checkout@v3
16+
with:
17+
submodules: true # Fetch Hugo themes (true OR recursive)
18+
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
19+
20+
- name: Build
21+
run: make update-playground
22+
23+
- name: Deploy
24+
uses: peaceiris/actions-gh-pages@v3
25+
if: ${{ github.ref == 'refs/heads/main' }}
26+
with:
27+
github_token: ${{ secrets.GITHUB_TOKEN }}
28+
publish_dir: ./public
29+
publish_branch: playground
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
pgAdmin 4
2+
3+
Copyright (C) 2013 - 2022, The pgAdmin Development Team
4+
5+
Permission to use, copy, modify, and distribute this software and its
6+
documentation for any purpose, without fee, and without a written agreement is
7+
hereby granted, provided that the above copyright notice and this paragraph and
8+
the following two paragraphs appear in all copies.
9+
10+
IN NO EVENT SHALL THE PGADMIN DEVELOPMENT TEAM BE LIABLE TO ANY PARTY FOR
11+
DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST
12+
PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
13+
THE PGADMIN DEVELOPMENT TEAM HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
14+
15+
THE PGADMIN DEVELOPMENT TEAM SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
16+
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
17+
PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND
18+
THE PGADMIN DEVELOPMENT TEAM HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT,
19+
UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
-- FUNCTION: public.Function2_$%{}[]()&*^!@"'`\/#()
2+
3+
-- DROP FUNCTION IF EXISTS public."Function2_$%{}[]()&*^!@""'`\/#"();
4+
5+
CREATE OR REPLACE FUNCTION public."Function2_$%{}[]()&*^!@""'`\/#"(
6+
)
7+
RETURNS character varying
8+
LANGUAGE 'plpgsql'
9+
COST 100
10+
VOLATILE PARALLEL UNSAFE
11+
SET enable_sort='true'
12+
AS $BODY$
13+
begin
14+
select '1';
15+
end
16+
$BODY$;
17+
18+
ALTER FUNCTION public."Function2_$%{}[]()&*^!@""'`\/#"()
19+
OWNER TO postgres;
20+
21+
GRANT EXECUTE ON FUNCTION public."Function2_$%{}[]()&*^!@""'`\/#"() TO PUBLIC;
22+
23+
GRANT EXECUTE ON FUNCTION public."Function2_$%{}[]()&*^!@""'`\/#"() TO postgres;
24+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
-- FUNCTION: public.Function3_$%{}[]()&*^!@"'`\/#()
2+
3+
-- DROP FUNCTION IF EXISTS public."Function3_$%{}[]()&*^!@""'`\/#"();
4+
5+
CREATE OR REPLACE FUNCTION public."Function3_$%{}[]()&*^!@""'`\/#"(
6+
)
7+
RETURNS character varying
8+
LANGUAGE 'plpgsql'
9+
COST 100
10+
VOLATILE PARALLEL UNSAFE
11+
SET application_name='appname'
12+
SET enable_sort='true'
13+
AS $BODY$
14+
begin
15+
select '2';
16+
end
17+
$BODY$;
18+
19+
ALTER FUNCTION public."Function3_$%{}[]()&*^!@""'`\/#"()
20+
OWNER TO postgres;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
-- FUNCTION: public.Function2_$%{}[]()&*^!@"'`\/#()
2+
3+
-- DROP FUNCTION IF EXISTS public."Function2_$%{}[]()&*^!@""'`\/#"();
4+
5+
CREATE OR REPLACE FUNCTION public."Function2_$%{}[]()&*^!@""'`\/#"(
6+
)
7+
RETURNS character varying
8+
LANGUAGE 'plpgsql'
9+
COST 100
10+
VOLATILE PARALLEL UNSAFE
11+
SET enable_sort='true'
12+
AS $BODY$
13+
begin
14+
select '1';
15+
end
16+
$BODY$;
17+
18+
ALTER FUNCTION public."Function2_$%{}[]()&*^!@""'`\/#"()
19+
OWNER TO postgres;
20+
21+
GRANT EXECUTE ON FUNCTION public."Function2_$%{}[]()&*^!@""'`\/#"() TO PUBLIC;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
-- FUNCTION: public.Function1_$%{}[]()&*^!@"'`\/#(character varying)
2+
3+
-- DROP FUNCTION IF EXISTS public."Function1_$%{}[]()&*^!@""'`\/#"(character varying);
4+
5+
CREATE OR REPLACE FUNCTION public."Function1_$%{}[]()&*^!@""'`\/#"(
6+
param character varying DEFAULT '1'::character varying)
7+
RETURNS character varying
8+
LANGUAGE 'plpgsql'
9+
COST 100
10+
VOLATILE LEAKPROOF STRICT SECURITY DEFINER WINDOW PARALLEL UNSAFE
11+
SET enable_sort='true'
12+
AS $BODY$
13+
begin
14+
select '1';
15+
end
16+
$BODY$;
17+
18+
ALTER FUNCTION public."Function1_$%{}[]()&*^!@""'`\/#"(character varying)
19+
OWNER TO postgres;
20+
21+
COMMENT ON FUNCTION public."Function1_$%{}[]()&*^!@""'`\/#"(character varying)
22+
IS 'Some comment';
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
-- FUNCTION: public.Function2_$%{}[]()&*^!@"'`\/#()
2+
3+
-- DROP FUNCTION IF EXISTS public."Function2_$%{}[]()&*^!@""'`\/#"();
4+
5+
CREATE OR REPLACE FUNCTION public."Function2_$%{}[]()&*^!@""'`\/#"(
6+
)
7+
RETURNS character varying
8+
LANGUAGE 'plpgsql'
9+
COST 100
10+
VOLATILE PARALLEL UNSAFE
11+
SET enable_sort='true'
12+
AS $BODY$
13+
begin
14+
select '1';
15+
end
16+
$BODY$;
17+
18+
ALTER FUNCTION public."Function2_$%{}[]()&*^!@""'`\/#"()
19+
OWNER TO postgres;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
-- FUNCTION: public.Function3_$%{}[]()&*^!@"'`\/#()
2+
3+
-- DROP FUNCTION IF EXISTS public."Function3_$%{}[]()&*^!@""'`\/#"();
4+
5+
CREATE OR REPLACE FUNCTION public."Function3_$%{}[]()&*^!@""'`\/#"(
6+
)
7+
RETURNS character varying
8+
LANGUAGE 'plpgsql'
9+
COST 100
10+
VOLATILE PARALLEL UNSAFE
11+
SET enable_sort='true'
12+
AS $BODY$
13+
begin
14+
select '2';
15+
end
16+
$BODY$;
17+
18+
ALTER FUNCTION public."Function3_$%{}[]()&*^!@""'`\/#"()
19+
OWNER TO postgres;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
-- FUNCTION: public.Function3_$%{}[]()&*^!@"'`\/#()
2+
3+
-- DROP FUNCTION IF EXISTS public."Function3_$%{}[]()&*^!@""'`\/#"();
4+
5+
CREATE OR REPLACE FUNCTION public."Function3_$%{}[]()&*^!@""'`\/#"(
6+
)
7+
RETURNS character varying
8+
LANGUAGE 'plpgsql'
9+
COST 100
10+
VOLATILE PARALLEL UNSAFE
11+
SET enable_sort='true'
12+
AS $BODY$
13+
begin
14+
select '1';
15+
end
16+
$BODY$;
17+
18+
ALTER FUNCTION public."Function3_$%{}[]()&*^!@""'`\/#"()
19+
OWNER TO postgres;

0 commit comments

Comments
 (0)