diff --git a/.gitignore b/.gitignore index f805e81..2c78755 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ *.ko *.obj *.elf +*.bc # Precompiled Headers *.gch diff --git a/Changes b/Changes index 8d063dc..989d99b 100644 --- a/Changes +++ b/Changes @@ -3,6 +3,7 @@ Changelog for pgzint 0.1.4 2019-05-09 - [3] Buffer overflow on foreground and background colors - Make scale a float8 (double) instead of integer, to align with Zint's API + - Add support for ALTER EXTENSION 0.1.3 2018-08-05 - [sigh] fix pgxn release diff --git a/Makefile b/Makefile index f970a3c..5a88f69 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ -MODULE_big = pgzint +MODULE_big = pgzint-0.1.4 OBJS = pgzint.o SHLIB_LINK = -lzint -lpng EXTENSION = pgzint -DATA = pgzint--0.1.4.sql +DATA = $(wildcard pgzint--*.sql) DOCS = README.md TESTS = $(wildcard test/sql/*.sql) REGRESS = $(patsubst test/sql/%.sql,%,$(TESTS)) diff --git a/README.md b/README.md index 5bc2c98..04b33c6 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -# pgzint 0.1.4 -================= +pgzint 0.1.4 +============ PostgreSQL extension for the Zint Barcode library @@ -25,7 +25,7 @@ It primarily adds a function, from pgzint.c: poption2 integer, poption3 integer, protation integer = 0 - ) + ) To determine information about what barcode symbologies are available, a table called `bc_symbols` and a view called `barcodes` have been added. Two functions, `getzintsymbolconstant(integer)` and `getzintsymbolid(text)` can be used to look make passing parameters to the barcode generation function easier. @@ -61,6 +61,11 @@ To build it, just do this: make installcheck make install +If you are updating from a version prior to 0.1.4, after you make/make install +issue the following to each database that has pgzint installed: + + `ALTER EXTENSION pgzint UPDATE TO '0.1.4';` + If you encounter an error such as: make: pg_config: Command not found