C library for accessing the PostgreSQL parser outside of the server.
This library uses the actual PostgreSQL server source to parse SQL
queries and return the internal PostgreSQL parse tree.
databases/libpg_query: mark as broken for i386
https://pkg-status.freebsd.org/beefy13/data/132i386-quarterly/ace2a29974a4/logs/libpg_query-15.4.2.3.log
test/normalize
..............INVALID result for "ALTER SUBSCRIPTION mysub SET PUBLICATION
insert_only"
expected: ALTER SUBSCRIPTION mysub SET PUBLICATION insert_only
actual: ALTER SUBSCRIPTION$1 SET PUBLICATION insert_only
INVALID result for "ALTER SUBSCRIPTION mysub CONNECTION 'host=192.168.1.50
port=5432 user=foo dbname=foodb'"
expected: ALTER SUBSCRIPTION mysub CONNECTION $1
actual: ALTER SUBSCRIPTION$1 CONNECTION 'host=192.168.1.50 port=5432 user=foo
dbname=foodb'
......
gmake[1]: *** [Makefile:252: test] Error 1
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/databases/libpg_query/work/libpg_query-15-4.2.3'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
databases/libpg_query: update to 13-2.1.0
Changelog:
https://github.com/pganalyze/libpg_query/blob/13-latest/CHANGELOG.md
13-2.1.0 2021-10-12
Normalize: add funcname error object #121
Normalize: Match GROUP BY against target list and re-use param refs #124
PL/pgSQL: Setup namespace items for parameters, support RECORD types #123
This significantly improves parsing for PL/pgSQL functions, to the
extent that most functions should now parse successfully
13-2.0.7 2021-07-16
Normalize: Don't modify constants in TypeName typmods/arrayBounds fields
(#118)
(Only the first 15 lines of the commit message are shown above )
databases/libpg_query: fix build on powerpc64*
arch-ppc.h is not distributed with the port, but it is installed along with
postgresql.
Approved by: tier 2 blanket