File tree Expand file tree Collapse file tree 5 files changed +638
-0
lines changed Expand file tree Collapse file tree 5 files changed +638
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Generated subdirectories
2
+ /log /
3
+ /results /
4
+ /tmp_check /
Original file line number Diff line number Diff line change
1
+ # contrib/bson/Makefile
2
+
3
+ MODULE_big = bson
4
+ OBJS = bson.o $(WIN32RES )
5
+
6
+ EXTENSION = bson
7
+ DATA = bson--1.0.sql
8
+ PGFILEDESC = "BSON compression method for json/jsonb types"
9
+
10
+ REGRESS = bson
11
+
12
+ ifdef USE_PGXS
13
+ PG_CONFIG = pg_config
14
+ PGXS := $(shell $(PG_CONFIG ) --pgxs)
15
+ include $(PGXS )
16
+ else
17
+ subdir = contrib/bson
18
+ top_builddir = ../..
19
+ include $(top_builddir ) /src/Makefile.global
20
+ include $(top_srcdir ) /contrib/contrib-global.mk
21
+ endif
Original file line number Diff line number Diff line change
1
+ /* contrib/bson/bson--1.0.sql */
2
+
3
+ -- complain if script is sourced in psql, rather than via CREATE EXTENSION
4
+ \echo Use " CREATE EXTENSION bson" to load this file. \quit
5
+
6
+ CREATE FUNCTION bson_handler (internal)
7
+ RETURNS compression_handler
8
+ AS ' MODULE_PATHNAME'
9
+ LANGUAGE C;
10
+
11
+ CREATE COMPRESSION METHOD bson HANDLER bson_handler;
12
+ COMMENT ON COMPRESSION METHOD bson IS ' BSON compression method' ;
You can’t perform that action at this time.
0 commit comments