Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Franck Boudehen committed Sep 6, 2024
1 parent f82d6d7 commit 7db30de
Show file tree
Hide file tree
Showing 3 changed files with 462 additions and 219 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
MODULE_big = pg_query_settings
OBJS = pg_query_settings.o pgsp_queryid.o
#OBJS = pg_query_settings.o pgsp_queryid.o
OBJS = pg_query_settings.o
EXTENSION = pg_query_settings
DATA = pg_query_settings--0.1.sql

Expand Down
4 changes: 4 additions & 0 deletions pg_query_settings--0.1.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ CREATE TABLE IF NOT EXISTS pgqs_config (queryid BIGINT, param TEXT, value TEXT N

-- mark it as dumpable
SELECT pg_catalog.pg_extension_config_dump('pgqs_config','');

CREATE FUNCTION pg_query_settings_reload()
RETURNS boolean AS 'MODULE_PATHNAME'
LANGUAGE C;
Loading

0 comments on commit 7db30de

Please sign in to comment.