Skip to content
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

Master PG12 TEST #1012

Closed
wants to merge 98 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
a20169e
AGE PG12.1.0 ALPHA (#246)
muhammadshoaib Aug 24, 2022
5d86c95
Patch to AGE for PG12 to remove incubating
jrgemignani Oct 22, 2022
1d9d601
Update files for release
jrgemignani Oct 24, 2022
efce637
Add images for README
eyab Dec 1, 2022
f0e1973
Update Logo for README
eyab Dec 1, 2022
84b7549
Issue (#318): PGXN Support added. (#367)
Dec 8, 2022
b9b8b5a
Add the ability to pass parameters to the cypher function
jrgemignani Dec 13, 2022
74a415a
Modify the python driver's parameterization
dehowef Dec 14, 2022
f710edd
Update installcheck.yml
jrgemignani Dec 14, 2022
dd2a6ae
Update installcheck.yml
jrgemignani Dec 14, 2022
ed72c46
Update installcheck.yml
jrgemignani Dec 14, 2022
16e3b4b
Update installcheck.yml
jrgemignani Dec 14, 2022
bbe6be8
Update installcheck.yml
jrgemignani Dec 14, 2022
dd34ea5
Fix compare_agtype_scalar_values returned result
jrgemignani Dec 14, 2022
1d1254a
Implement CI testing for Golang Driver (#372)
lukehinds Nov 28, 2022
e7465ae
Update to go version 1.19, as 1.16 is EOL (#373)
lukehinds Dec 10, 2022
5ee637d
Issue #388 - Fix python driver build from source (#389)
Hunaid2000 Jan 5, 2023
8b8ad5f
Updated files for PG12 AGE release to 1.1.1
jrgemignani Jan 18, 2023
2f85a37
Updated and added files for PG12 AGE release to 1.1.1
jrgemignani Jan 19, 2023
7da8a0e
Update README.md (#565)
jbiz805 Jan 21, 2023
005eb05
Implement CALL ...[YIELD] for cypher functions. (#630)
MuhammadTahaNaveed Feb 1, 2023
fd49347
Graph names with empty string '' are no more allowed. (#251)
muhammadshoaib Aug 22, 2022
99afc88
Updated drivers, minor docs fixes
Dzordzu Sep 4, 2022
3c65ec8
Fix Bug with CALL... YIELD clause ignores WHERE
dehowef Sep 29, 2022
100bbc1
Fix EXPLAIN to allow for nested cypher commands
jrgemignani Oct 4, 2022
d91a632
Fix delete_global_graphs
jrgemignani Oct 17, 2022
423ce19
add regression tests for delete_global_graphs (#336)
rafsun42 Oct 25, 2022
1a50ded
Invalid labels now return NULL
dehowef Oct 22, 2022
2d875a8
Update CONTRIBUTING.md (#348)
jbiz805 Nov 15, 2022
b533a1c
Add license header
jrgemignani Nov 23, 2022
0f3fd0c
Fix null pointer on name compare (#376)
parvit Dec 8, 2022
7d3b89a
Fix Travis CI warning message
jrgemignani Dec 12, 2022
20ffc26
Fix Travis CI warning message
jrgemignani Dec 12, 2022
1cb098c
Regression tests for age_global_graph (#341)
PragyanD Dec 19, 2022
5c1e483
Readme Added for AGE-JDBC-Driver (#383)
imranzaheer612 Dec 20, 2022
b2d695c
Changed volatility category of functions age_atan2, age_degrees, age_…
Hunaid2000 Dec 24, 2022
991f528
Changed age_split, age_replace, age_sin from STABLE TO IMMUTABLE (#402)
Zahid07 Dec 25, 2022
0c4a50e
Modified the Volatility Category of functions age_asin and age_acos f…
RC-002 Dec 25, 2022
cbd84c3
Changed age_head, age_last and age_properties to IMMUTABLE (#406)
MatheusFarias03 Dec 27, 2022
ab44d0c
Changed age_id, age_start_id and age_end_id function signatures to IM…
markgomer Dec 27, 2022
ab370c6
Changed age_sqrt & age_floor volatility to IMMUTABLE (#411)
imranzaheer612 Dec 27, 2022
9881837
Changed volatility types of age_substring, age_left and age_right to …
KamleshKumar427 Dec 27, 2022
436e2be
Changed age_cos, age_tan and age_cot to Immutable from Stable (#409)
Pratikkapsime Dec 27, 2022
bf2fd10
agtype_typecast funcs changed to immutable (#407)
maazzzzz Dec 27, 2022
c7ef62e
Changed volatility category of age_rtrim,age_ltrim,age_trim (#410)
fatimafatimaprogrammer Dec 27, 2022
53190af
Changed the definition of graphid_eq, graphid_ne, and graphid_lt from…
FahadZaheerfzr Dec 27, 2022
f4d61c9
Fix function signature (age_length, age_toboolean, age_tofloat) from …
MuhammadTahaNaveed Dec 27, 2022
835e439
Changed Volatility of agtype_typecase_path (#417)
sarthak-19 Dec 27, 2022
59dfcbd
string reverse change Stable to immutable (#419)
Munmud Dec 28, 2022
e04ba68
Changed the volatility of String function age_toupper() : from STABLE…
Munmud Dec 28, 2022
a1729e0
Changed the volatility of String function age_tolower() (#421)
Munmud Dec 28, 2022
d3d8135
typecast_vertex and typecast_edge functions volatility changed from S…
umer200 Dec 28, 2022
7d44cbf
Update age_log10, age_e, age_exp VOLATILITY Classes (#427)
moeed-k Dec 28, 2022
d990835
Modified the volatility of functions age_atan, age_round and age_ceil…
GhostVaibhav Dec 28, 2022
acecd5b
Change volatility category of range(), unnest(). (#418)
AhmarZaidi Dec 29, 2022
4b5df4f
Updated volatility information of function age_tointeger(),age_tostri…
intrigued-rishi Dec 31, 2022
f4be1ba
Fix bug #339 - entities in WHERE clause have wrong Expr (#391)
rafsun42 Jan 3, 2023
d0738b0
create complete graph function (#342) (#662)
MuhammadTahaNaveed Feb 10, 2023
f77e9f0
Issue 317: Graph naming convention (#349)
rafsun42 Dec 29, 2022
bdb7f17
Fixed typos at multiple locations (#470)
uhayat Jan 3, 2023
4656620
Update SET clause to support assigning a map to a variable (#468)
rafsun42 Jan 4, 2023
bf512f7
Patch to address PR 203 that appears to be inactive. (#671)
MuhammadTahaNaveed Feb 13, 2023
f73b16f
Added some comments for create_graph function (#582)
intrigued-rishi Jan 23, 2023
8956e65
Optimize age_exists function (#586)
moeed-k Jan 25, 2023
8351fda
Implement plus-equal operator in SET clause (#638)
rafsun42 Feb 1, 2023
bc9eb17
Implement CI test for python driver (#587)
MuhammadTahaNaveed Feb 1, 2023
0652ac1
Update readme (#649)
Nandhini1809 Feb 2, 2023
08dc623
Update Readme (#650)
yadav9887 Feb 2, 2023
05039fe
Add video links (#634)
waleedahmed0001 Feb 7, 2023
b24cd9a
Update README.md (#651)
udaiganny67 Feb 8, 2023
2610579
Move from travis CI to github actions for build (#673)
MuhammadTahaNaveed Feb 14, 2023
64ab297
Update python driver CI to run on every PR/commit (#686)
MuhammadTahaNaveed Feb 17, 2023
e7bd40b
Update go driver CI to run on every PR/commit (#685)
MuhammadTahaNaveed Feb 17, 2023
c042b32
Update README.md (#705)
jbiz805 Feb 23, 2023
888d0fa
Updated Readme for drivers folder (#642)
fatimafatimaprogrammer Feb 16, 2023
f6fccd8
Removed async from function definitions (#680)
FahadZaheerfzr Feb 16, 2023
a9099c9
Barbell graph generation (#648)
markgomer Feb 17, 2023
30d20c4
UPDATED Python Driver ANTLR 4.9.3 -> 4.11.1 (#706)
aru-d-at Feb 23, 2023
ceebd75
Fix WITH ignoring WHERE clause (#646)
MuhammadTahaNaveed Feb 25, 2023
fb95472
Implement isEmpty() predicate function (#710)
MuhammadTahaNaveed Feb 27, 2023
0631b5a
Barbell regress tests (#708)
markgomer Mar 1, 2023
eda403d
Fix cypher function input argument checks (issue #718)
jrgemignani Mar 1, 2023
0f9c895
Fix Issue #693 - server termination from return exists(path) (#721)
MuhammadTahaNaveed Mar 2, 2023
1123878
Update regression tests for cypher_with (#725)
MuhammadTahaNaveed Mar 3, 2023
9fefd36
Fix issue #733 - create_complete_graph() terminates the server (#734)
MuhammadTahaNaveed Mar 6, 2023
8102847
Prevent MATCH from following OPTIONAL MATCH (#740)
dehowef Mar 11, 2023
87a7d10
Fix property constraints against resolved variables in concurrent MAT…
jrgemignani Mar 17, 2023
e7e8c98
Fix property constraints against resolved variables (#724) (#751)
jrgemignani Mar 22, 2023
15ea678
Include invalid labels in reused variables. (#751) (#762)
dehowef Mar 23, 2023
bcc6c37
Fix update_entity_tuple to use correct CommandId (#769)
MuhammadTahaNaveed Mar 28, 2023
4cf7a9e
Remove check for scalar agtypes in unwind (#736)
MuhammadTahaNaveed Mar 11, 2023
53a5654
[PG12] Update CI workflows (#776)
MuhammadTahaNaveed Mar 28, 2023
fc0d729
Update readme and version for python driver (#780)
MuhammadTahaNaveed Mar 30, 2023
49d0a79
Update files for PG12 AGE release to 1.3.0
jrgemignani Apr 5, 2023
01486ef
Correct RELEASE notes
jrgemignani Apr 5, 2023
61e73f7
Correct RELEASE notes
jrgemignani Apr 21, 2023
cdbd533
Merge branch 'PG12' into master_PG12 (local)
jrgemignani Jul 3, 2023
73372da
Post merge corrections and modifications
jrgemignani Jul 4, 2023
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
20 changes: 10 additions & 10 deletions .github/workflows/go-driver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Go Driver Tests

on:
push:
branches: [ "master", "PG11" ]
branches: [ "master", "PG12" ]

pull_request:
branches: [ "master", "PG11" ]
branches: [ "master", "PG12" ]

jobs:
build:
Expand All @@ -17,7 +17,7 @@ jobs:
defaults:
run:
working-directory: drivers/golang/age/

steps:
- uses: actions/checkout@v3

Expand All @@ -26,17 +26,17 @@ jobs:
if [[ "$GITHUB_EVENT_NAME" == "push" ]]; then
if [[ "$GITHUB_REF" == "refs/heads/master" ]]; then
echo "TAG=latest" >> $GITHUB_ENV
elif [[ "$GITHUB_REF" == "refs/heads/PG11" ]]; then
echo "TAG=PG11_latest" >> $GITHUB_ENV
elif [[ "$GITHUB_REF" == "refs/heads/PG12" ]]; then
echo "TAG=PG12_latest" >> $GITHUB_ENV
fi
elif [[ "$GITHUB_EVENT_NAME" == "pull_request" ]]; then
if [[ "$GITHUB_BASE_REF" == "master" ]]; then
echo "TAG=latest" >> $GITHUB_ENV
elif [[ "$GITHUB_BASE_REF" == "PG11" ]]; then
echo "TAG=PG11_latest" >> $GITHUB_ENV
elif [[ "$GITHUB_BASE_REF" == "PG12" ]]; then
echo "TAG=PG12_latest" >> $GITHUB_ENV
fi
fi

- name: Run apache/age docker image
run: |
export TAG=$TAG
Expand All @@ -46,12 +46,12 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}

- name: Generate
run: go generate ./../...

- name: Build
run: go build -v ./...

- name: Test
run: go test . -v
run: go test . -v
52 changes: 52 additions & 0 deletions .github/workflows/installcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: PG12 Regression

on:
push:
branches: [ 'PG12' ]
pull_request:
branches: [ 'PG12' ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Get latest commit id of PostgreSQL 12
run: |
echo "PG_COMMIT_HASH=$(git ls-remote git://git.postgresql.org/git/postgresql.git refs/heads/REL_12_STABLE | awk '{print $1}')" >> $GITHUB_ENV

- name: Cache PostgreSQL 12
uses: actions/cache@v3
id: pg12cache
with:
path: ~/pg12
key: ${{ runner.os }}-v1-pg12-${{ env.PG_COMMIT_HASH }}

- name: Install PostgreSQL 12
if: steps.pg12cache.outputs.cache-hit != 'true'
run: |
git clone --depth 1 --branch REL_12_STABLE git://git.postgresql.org/git/postgresql.git ~/pg12source
cd ~/pg12source
./configure --prefix=$HOME/pg12 CFLAGS="-std=gnu99 -ggdb -O0" --enable-cassert
make install -j$(nproc) > /dev/null

- uses: actions/checkout@v3

- name: Build
id: build
run: |
make PG_CONFIG=$HOME/pg12/bin/pg_config install -j$(nproc)

- name: Regression tests
id: regression_tests
run: |
make PG_CONFIG=$HOME/pg12/bin/pg_config installcheck
continue-on-error: true

- name: Dump regression test errors
if: steps.regression_tests.outcome != 'success'
run: |
echo "Dump section begin."
cat $HOME/work/age/age/regress/regression.diffs
echo "Dump section end."
exit 1
19 changes: 9 additions & 10 deletions .github/workflows/jdbc-driver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,21 @@ name: JDBC Driver Tests

on:
push:
branches: [ "master", "PG11" ]
branches: [ "master", "PG12" ]

pull_request:
branches: [ "master", "PG11" ]
branches: [ "master", "PG12" ]

jobs:
build:
runs-on: ubuntu-latest

defaults:
run:
working-directory: drivers/jdbc

steps:
- uses: actions/checkout@v3

- name: Set up Java
uses: actions/setup-java@v3
with:
Expand All @@ -29,18 +28,18 @@ jobs:
if [[ "$GITHUB_EVENT_NAME" == "push" ]]; then
if [[ "$GITHUB_REF" == "refs/heads/master" ]]; then
echo "TAG=latest" >> $GITHUB_ENV
elif [[ "$GITHUB_REF" == "refs/heads/PG11" ]]; then
echo "TAG=PG11_latest" >> $GITHUB_ENV
elif [[ "$GITHUB_REF" == "refs/heads/PG12" ]]; then
echo "TAG=PG12_latest" >> $GITHUB_ENV
fi
elif [[ "$GITHUB_EVENT_NAME" == "pull_request" ]]; then
if [[ "$GITHUB_BASE_REF" == "master" ]]; then
echo "TAG=latest" >> $GITHUB_ENV
elif [[ "$GITHUB_BASE_REF" == "PG11" ]]; then
echo "TAG=PG11_latest" >> $GITHUB_ENV
elif [[ "$GITHUB_BASE_REF" == "PG12" ]]; then
echo "TAG=PG12_latest" >> $GITHUB_ENV
fi
fi

- name: Build and Test
run: |
export TAG=$TAG
gradle build
gradle build
20 changes: 10 additions & 10 deletions .github/workflows/nodejs-driver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Nodejs Driver Tests

on:
push:
branches: [ "master", "PG11" ]
branches: [ "master", "PG12" ]

pull_request:
branches: [ "master", "PG11" ]
branches: [ "master", "PG12" ]

jobs:
build:
Expand All @@ -14,26 +14,26 @@ jobs:
defaults:
run:
working-directory: drivers/nodejs/

steps:
- uses: actions/checkout@v3

- name: Set tag based on branch
run: |
if [[ "$GITHUB_EVENT_NAME" == "push" ]]; then
if [[ "$GITHUB_REF" == "refs/heads/master" ]]; then
echo "TAG=latest" >> $GITHUB_ENV
elif [[ "$GITHUB_REF" == "refs/heads/PG11" ]]; then
echo "TAG=PG11_latest" >> $GITHUB_ENV
elif [[ "$GITHUB_REF" == "refs/heads/PG12" ]]; then
echo "TAG=PG12_latest" >> $GITHUB_ENV
fi
elif [[ "$GITHUB_EVENT_NAME" == "pull_request" ]]; then
if [[ "$GITHUB_BASE_REF" == "master" ]]; then
echo "TAG=latest" >> $GITHUB_ENV
elif [[ "$GITHUB_BASE_REF" == "PG11" ]]; then
echo "TAG=PG11_latest" >> $GITHUB_ENV
elif [[ "$GITHUB_BASE_REF" == "PG12" ]]; then
echo "TAG=PG12_latest" >> $GITHUB_ENV
fi
fi

- name: Run apache/age docker image
run: |
export TAG=$TAG
Expand All @@ -51,4 +51,4 @@ jobs:
run: npm run build

- name: Test
run: npm test
run: npm test
20 changes: 10 additions & 10 deletions .github/workflows/python-driver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Python Driver Tests

on:
push:
branches: [ "master", "PG11" ]
branches: [ "master", "PG12" ]

pull_request:
branches: [ "master", "PG11" ]
branches: [ "master", "PG12" ]

jobs:
build:
Expand All @@ -14,26 +14,26 @@ jobs:
defaults:
run:
working-directory: drivers/python

steps:
- uses: actions/checkout@v3

- name: Set tag based on branch
run: |
if [[ "$GITHUB_EVENT_NAME" == "push" ]]; then
if [[ "$GITHUB_REF" == "refs/heads/master" ]]; then
echo "TAG=latest" >> $GITHUB_ENV
elif [[ "$GITHUB_REF" == "refs/heads/PG11" ]]; then
echo "TAG=PG11_latest" >> $GITHUB_ENV
elif [[ "$GITHUB_REF" == "refs/heads/PG12" ]]; then
echo "TAG=PG12_latest" >> $GITHUB_ENV
fi
elif [[ "$GITHUB_EVENT_NAME" == "pull_request" ]]; then
if [[ "$GITHUB_BASE_REF" == "master" ]]; then
echo "TAG=latest" >> $GITHUB_ENV
elif [[ "$GITHUB_BASE_REF" == "PG11" ]]; then
echo "TAG=PG11_latest" >> $GITHUB_ENV
elif [[ "$GITHUB_BASE_REF" == "PG12" ]]; then
echo "TAG=PG12_latest" >> $GITHUB_ENV
fi
fi

- name: Run apache/age docker image
run: |
export TAG=$TAG
Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
*.o
*.so
.gitignore
build.sh
.idea
.deps
.DS_Store
*.tokens
*.interp
*.interp
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ We strongly recommend you to subscribe the mailing lists, join the Apache AGE Di

## Pull Requests

Changes to AGE source code are proposed, reviewed, and committed via GitHub pull requests (described in Code Convention). Pull requests are a great way to get your ideas into this repository. Anyone can view and comment on active changes here. Reviewing others' changes are a good way to learn how the change process works and gain exposure to activity in various parts of the code. You can help by reviewing the changes, asking questions, or pointing out issues as simple as typos.
Changes to AGE source code are proposed, reviewed, and committed via Github pull requests (described in Code Convention). Pull requests are a great way to get your ideas into this repository. Anyone can view and comment on active changes here. Reviewing others' changes are a good way to learn how the change process works and gain exposure to activity in various parts of the code. You can help by reviewing the changes, asking questions, or pointing out issues as simple as typos.

## Documentation Changes

Expand Down
11 changes: 5 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,17 @@
# limitations under the License.
#

FROM postgres:12

FROM postgres:11-buster

RUN apt-get update
RUN apt-get update
RUN apt-get install --assume-yes --no-install-recommends --no-install-suggests \
bison \
build-essential \
flex \
postgresql-server-dev-11
postgresql-server-dev-12

COPY . /age
RUN cd /age && make install
COPY . /age
RUN cd /age && make install

COPY docker-entrypoint-initdb.d/00-create-extension-age.sql /docker-entrypoint-initdb.d/00-create-extension-age.sql

Expand Down
45 changes: 45 additions & 0 deletions META.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"name": "ApacheAGE",
"abstract": "Apache AGE is a PostgreSQL Extension that provides graph database functionality",
"description": "Apache AGE is a PostgreSQL Extension that provides graph database functionality. AGE is an acronym for A Graph Extension, and is inspired by Bitnine's fork of PostgreSQL 10, AgensGraph, which is a multi-model database. The goal of the project is to create single storage that can handle both relational and graph model data so that users can use standard ANSI SQL along with openCypher, the Graph query language. A graph consists of a set of vertices (also called nodes) and edges, where each individual vertex and edge possesses a map of properties. A vertex is the basic object of a graph, that can exist independently of everything else in the graph. An edge creates a directed connection between two vertices. A graph database is simply composed of vertices and edges. This type of database is useful when the meaning is in the relationships between the data. Relational databases can easily handle direct relationships, but indirect relationships are more difficult to deal with in relational databases. A graph database stores relationship information as a first-class entity. Apache AGE gives you the best of both worlds, simultaneously.",
"version": "1.1.0",
"maintainer": [
"[email protected]"
],
"license": "apache_2_0",
"provides": {
"ApacheAGE": {
"abstract": "Apache AGE is a PostgreSQL Extension that provides graph database functionality",
"file": "age--1.1.0.sql",
"docfile": "README.md",
"version": "1.1.0"
}
},
"prereqs": {
"runtime": {
"requires": {
"PostgreSQL": "12.0.0"
}
}
},
"resources": {
"homepage": "https://github.com/apache/age/tree/AGE_PG12.1.0_ALPHA",
"bugtracker": {
"web": "https://github.com/apache/age/issues"
},
"repository": {
"url": "https://github.com/apache/age.git",
"web": "https://github.com/apache/age",
"type": "git"
}
},
"generated_by": "[email protected]",
"meta-spec": {
"version": "1.0.0",
"url": "http://pgxn.org/meta/spec.txt"
},
"tags": [
"graphdb",
"graph-database"
]
}
12 changes: 10 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,23 @@ ag_regress_dir = $(srcdir)/regress
REGRESS_OPTS = --load-extension=age --inputdir=$(ag_regress_dir) --outputdir=$(ag_regress_dir) --temp-instance=$(ag_regress_dir)/instance --port=61958 --encoding=UTF-8

ag_regress_out = instance/ log/ results/ regression.*
EXTRA_CLEAN = $(addprefix $(ag_regress_dir)/, $(ag_regress_out)) src/backend/parser/cypher_gram.c src/include/parser/cypher_gram_def.h
EXTRA_CLEAN = $(addprefix $(ag_regress_dir)/, $(ag_regress_out)) src/backend/parser/cypher_gram.c src/include/parser/cypher_gram_def.h src/include/parser/cypher_kwlist_d.h

GEN_KEYWORDLIST = $(PERL) -I ./tools/ ./tools/gen_keywordlist.pl
GEN_KEYWORDLIST_DEPS = ./tools/gen_keywordlist.pl tools/PerfectHash.pm

ag_include_dir = $(srcdir)/src/include
PG_CPPFLAGS = -I$(ag_include_dir) -I$(ag_include_dir)/parser

PG_CONFIG = pg_config
PG_CONFIG ?= pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)

src/backend/parser/cypher_keywords.o: src/include/parser/cypher_kwlist_d.h

src/include/parser/cypher_kwlist_d.h: src/include/parser/cypher_kwlist.h $(GEN_KEYWORDLIST_DEPS)
$(GEN_KEYWORDLIST) --extern --varname CypherKeyword --output src/include/parser $<

src/include/parser/cypher_gram_def.h: src/backend/parser/cypher_gram.c

src/backend/parser/cypher_gram.c: BISONFLAGS += --defines=src/include/parser/cypher_gram_def.h
Expand Down
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Apache AGE
Copyright 2022 The Apache Software Foundation.
Copyright 2023 The Apache Software Foundation.
This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).

Expand Down
Loading