Skip to content

Commit fda12d6

Browse files
committed
Initial commit
Moved from PostresPro private repository to GitHub, published under MIT license.
1 parent aabc7ba commit fda12d6

File tree

8 files changed

+1365
-78
lines changed

8 files changed

+1365
-78
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.o
2+
*.so

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2016 Aleksander Alekseev
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

Makefile

+4-9
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,9 @@ DATA = zson--1.0.sql
44
OBJS = zson.o
55
REGRESS = zson
66

7-
ifdef USE_PGXS
7+
MODULE_big = zson
8+
PG_CPPFLAGS = -g -O2
9+
SHLIB_LINK = # -lz -llz4
10+
811
PGXS := $(shell pg_config --pgxs)
912
include $(PGXS)
10-
else
11-
subdir = contrib/zson
12-
top_builddir = ../..
13-
include $(top_builddir)/src/Makefile.global
14-
include $(top_srcdir)/contrib/contrib-global.mk
15-
endif
16-
17-

0 commit comments

Comments
 (0)