X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=scripts%2Fgen_pq_type.sh;fp=scripts%2Fgen_pq_type.sh;h=692086028fb5c63b6d513c823faa7f4ea7f4c3df;hp=0000000000000000000000000000000000000000;hb=b79edc51dfb0d34f172a7bb80e7b0f225d95a744;hpb=11075db860470f36eafe93257972e5f7db9632fa diff --git a/scripts/gen_pq_type.sh b/scripts/gen_pq_type.sh new file mode 100755 index 0000000..6920860 --- /dev/null +++ b/scripts/gen_pq_type.sh @@ -0,0 +1,4 @@ +#!/bin/sh +CWD=$(dirname $0) +awk -f $CWD/php_pq_type.awk >$CWD/../php_pq_type.h \ + <${1-/usr/include/postgresql}/server/catalog/pg_type.h