This Ruby extension uses the actual PostgreSQL server source
to parse SQL queries and return the internal PostgreSQL parsetree.
In addition the extension allows you to normalize queries (replacing constant
values with ?) and parse these normalized queries into a parsetree again.
databases/rubygem-pg_query: fix build with lld 17
Building databases/rubygem-pg_query with lld 17 results in the following
link error:
ld: error: version script assignment of 'global' to symbol '_Init_pg_query'
failed: symbol not defined
The mentioned symbol has been removed from pg_query.so, so remove it
from the linker version script.
PR: 273753
MFH: 2023Q4
databases/rubygem-pg_query: update to 2.2.1
2.2.1 2023-01-20
Detect tables used in the query of a PREPARE statement (#273)
Expose recursive walk functionality via walk! (#268)
Retain schema in name when parsing out functions (#272)
https://github.com/pganalyze/pg_query/blob/main/CHANGELOG.md
Mk/**ruby.mk: Switch from USE_RUBY=yes to USES=ruby
Switch from Mk/bsd.ruby.mk to Mk/Uses/ruby.mk
Notable changes are.
- Mk/bsd.ruby.mk is moved to Mk/Uses/ruby.mk.
- USE_RUBY=yes is replaced with USES=ruby.
- USE_RUBY_EXTCONF is replaced with USES=ruby:extconf.
- USE_RUBY_RDOC is replaced with USES=ruby:rdoc.
- USE_RUBY_SETUP is replaces with USES=ruby:setup.
- RUBY_NO_BUILD_DEPENDS and RUBY_NO_RUN_DEPENDS are replaced with
USES=ruby:{build,none,run}.
- RUBY_REQUIRE isn't used anywhere, so removed.
- USES=gem now implies USES=ruby.
This is mainly the work of yasu@ at https://reviews.freebsd.org/D27863
I have just made some cosmetic changes and ran exp-run to test that the
tree is not in a BROKEN state.
Approved by: portmgr
Differential Revision: https://reviews.freebsd.org/D37925
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/rubygem-pg_query: update to 2.1.3
Required for gitlab-ce 15.1.
Changelog:
https://github.com/pganalyze/pg_query/blob/main/CHANGELOG.md
2.1.3 2022-01-28
Track tables in EXCEPT and INTERSECT queries (#239)
Get filter_columns working with UNION/EXCEPT/INTERSECT (#240)
Update google-protobuf to address CVE scanner complaints
Note that none of the CVEs apply to pg_query, but this avoids
unnecessary errors when the google-protobuf dependency is pulled in
databases/rubygem-pg_query: Fix unknown type name 'PgQueryProtobuf'
Make sure to use internal pg_query lib.
Patch is already included upstream in version 2.1.0:
https://github.com/pganalyze/pg_query/pull/216/files
This should fix the build outside of poudriere.
PR: 256741
Reported by: VVD <vvd@unislabs.com>