Skip to content

Commit

Permalink
Tweaks to update process, mention in notes and changes
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbeauchamp committed May 10, 2019
1 parent 6b9ccbc commit 47cdb01
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*.ko
*.obj
*.elf
*.bc

# Precompiled Headers
*.gch
Expand Down
1 change: 1 addition & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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))
Expand Down
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# pgzint 0.1.4
=================
pgzint 0.1.4
============

PostgreSQL extension for the Zint Barcode library

Expand All @@ -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.

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 47cdb01

Please sign in to comment.