Skip to content

Commit 06ed3e0

Browse files
committed
Get the hash access method compiling
This is totally broken still, but hey, it compiles. Progress is progress
1 parent 9e0b523 commit 06ed3e0

File tree

5 files changed

+1469
-815
lines changed

5 files changed

+1469
-815
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ OBJS = src/backend/postgraph.o \
2626
src/backend/access/ivfflat/ivfutils.o \
2727
src/backend/access/ivfflat/ivfvacuum.o \
2828
src/backend/access/vertex_heap/vertex_heapam_handler.o \
29+
src/backend/access/vertex_heap/vertex_hash_search.o \
2930
src/backend/catalog/ag_catalog.o \
3031
src/backend/catalog/ag_graph.o \
3132
src/backend/catalog/ag_label.o \

regress/sql/vertex_am.sql

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ LOAD 'postgraph';
2020

2121

2222

23-
CREATE TABLE vertex_am_tst (id postgraph.graphid not null, props postgraph.gtype not null) USING vertex;
23+
CREATE TABLE vertex_am_tst (id postgraph.graphid not null, props postgraph.gtype null) USING vertex;
2424

2525
INSERT INTO vertex_am_tst (id, props)
2626
VALUES ('1'::postgraph.graphid, postgraph.gtype_build_map('id', 1));
@@ -41,4 +41,8 @@ UPDATE vertex_am_tst SET id = '2'::postgraph.graphid;
4141
INSERT INTO vertex_am_tst (id, props)
4242
VALUES ('4'::postgraph.graphid, postgraph.gtype_build_map('id', 1));
4343

44+
45+
INSERT INTO vertex_am_tst (id, props)
46+
VALUES ('5'::postgraph.graphid, NULL);
47+
4448
SELECT * FROM vertex_am_tst;

0 commit comments

Comments
 (0)