Skip to content

Commit

Permalink
Add Insert, Update and Delete operations.
Browse files Browse the repository at this point in the history
These operations work for all tables, with the following exceptions:
. only Insert works for singleton key list tables
. Insert and Update only work for singleton key ZSET tables if they have the
  priority column
. non-singleton non-scalar tables must have an array type for the second column

This work was sponsored by Heroku.
  • Loading branch information
adunstan committed Jun 9, 2015
1 parent ab539ce commit 014f326
Show file tree
Hide file tree
Showing 4 changed files with 2,907 additions and 5 deletions.
4 changes: 3 additions & 1 deletion Makefile
Expand Up @@ -30,7 +30,9 @@ EXTRA_CLEAN = sql/redis_fdw.sql expected/redis_fdw.out

SHLIB_LINK += -lhiredis

ifdef USE_PGXS
USE_PGXS = 1

ifeq ($(USE_PGXS),1)
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
Expand Down

0 comments on commit 014f326

Please sign in to comment.