Skip to content

Commit a63e3fa

Browse files
committed
Add the functions to the vertex am
nothing works, but the asserts won't crash anymore
1 parent ad21475 commit a63e3fa

4 files changed

Lines changed: 764 additions & 63 deletions

File tree

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ EXTENSION = postgraph
8989
DATA = postgraph--0.1.0.sql
9090

9191
REGRESS = new_cypher \
92+
vertex_am \
9293
graphid \
9394
gtype \
9495
expr \

regress/expected/vertex_am.out

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

regress/sql/vertex_am.sql

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*
2+
* Copyright (C) 2024 PostGraphDB
3+
*
4+
* This program is free software: you can redistribute it and/or modify
5+
* it under the terms of the GNU Affero General Public License as
6+
* published by the Free Software Foundation, either version 3 of the
7+
* License, or (at your option) any later version.
8+
*
9+
* This program is distributed in the hope that it will be useful,
10+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
* GNU Affero General Public License for more details.
13+
*
14+
* You should have received a copy of the GNU Affero General Public License
15+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
16+
*/
17+
-- Regression tests don't preload extensions, gotta load it first
18+
19+
LOAD 'postgraph';
20+
21+
22+
23+
CREATE TABLE tst (id postgraph.graphid not null, props postgraph.gtype not null) USING vertex;

0 commit comments

Comments
 (0)