1
0
mirror of https://github.com/danog/ext-pq.git synced 2024-12-02 17:28:35 +01:00
ext-pq/gen_pq_type.sh
2014-10-23 09:49:32 +02:00

5 lines
134 B
Bash
Executable File

#!/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