notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
rubygem-pg_query Parses SQL queries using a copy of the PostgreSQL server query parser
5.1.0_1 databases on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 5.1.0_1Version of this port present on the latest quarterly branch.
Maintainer: mfechner@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2021-01-25 11:57:29
Last Update: 2024-03-07 14:48:20
Commit Hash: 44edb6f
Also Listed In: rubygems
License: BSD3CLAUSE
WWW:
https://github.com/lfittl/pg_query
Description:
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (3 items)
Collapse this list.
  1. /usr/local/share/licenses/rubygem-pg_query-5.1.0_1/catalog.mk
  2. /usr/local/share/licenses/rubygem-pg_query-5.1.0_1/LICENSE
  3. /usr/local/share/licenses/rubygem-pg_query-5.1.0_1/BSD3CLAUSE
Collapse this list.
Dependency lines:
  • rubygem-pg_query>0:databases/rubygem-pg_query
To install the port:
cd /usr/ports/databases/rubygem-pg_query/ && make install clean
To add the package, run one of these commands:
  • pkg install databases/rubygem-pg_query
  • pkg install rubygem-pg_query
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: rubygem-pg_query
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1708417107 SHA256 (rubygem/pg_query-5.1.0.gem) = b7f7f47c864f08ccbed46a8244906fb6ee77ee344fd27250717963928c93145d SIZE (rubygem/pg_query-5.1.0.gem) = 2323968

Packages (timestamps in pop-ups are UTC):
rubygem-pg_query
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest5.1.0_15.1.0_1-5.1.0_15.1.0_1---
FreeBSD:13:quarterly5.1.0_15.1.0_14.2.15.1.0_15.1.0_14.2.34.2.34.2.3
FreeBSD:14:latest5.1.0_15.1.0_12.2.05.1.0_15.1.0_12.2.1-2.2.1
FreeBSD:14:quarterly5.1.0_15.1.0_1-5.1.0_15.1.0_14.2.34.2.34.2.3
FreeBSD:15:latest5.1.0_15.1.0_1n/a4.2.3n/a4.2.34.2.3-
FreeBSD:15:quarterly--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. rubygem-pathname>0 : devel/rubygem-pathname
  2. ruby32 : lang/ruby32
  3. gem : devel/ruby-gems
Runtime dependencies:
  1. rubygem-google-protobuf>=3.22.3 : devel/rubygem-google-protobuf
  2. ruby32 : lang/ruby32
  3. gem : devel/ruby-gems
Patch dependencies:
  1. ruby32 : lang/ruby32
  2. gem : devel/ruby-gems
Extract dependencies:
  1. ruby32 : lang/ruby32
This port is required by:
for Build
  1. www/gitlab-ce
for Run
  1. devel/rubygem-gitlab-labkit
  2. www/gitlab-ce

Configuration Options:
No options to configure
Options name:
databases_rubygem-pg_query
USES:
gem
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://rubygems.org/downloads/
Collapse this list.
Port Moves

Number of commits found: 21

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
5.1.0_1
07 Mar 2024 14:48:20
commit hash: 44edb6fa1d91f02907c0cfae7c962c17b3da0143commit hash: 44edb6fa1d91f02907c0cfae7c962c17b3da0143commit hash: 44edb6fa1d91f02907c0cfae7c962c17b3da0143commit hash: 44edb6fa1d91f02907c0cfae7c962c17b3da0143 files touched by this commit
Matthias Fechner (mfechner) search for other commits by this committer
databases/rubygem-pg_query: fix build on FreeBSD 13.3

I reported this fix also upstream:
https://github.com/pganalyze/pg_query/pull/313

PR:		277535
5.1.0
29 Feb 2024 07:48:29
commit hash: a7b4fee718b17884358d3f527fef7986af3383cecommit hash: a7b4fee718b17884358d3f527fef7986af3383cecommit hash: a7b4fee718b17884358d3f527fef7986af3383cecommit hash: a7b4fee718b17884358d3f527fef7986af3383ce files touched by this commit
Matthias Fechner (mfechner) search for other commits by this committer
databases/rubygem-pg_query: stop spam from pkg-fallout
5.1.0
23 Feb 2024 13:18:00
commit hash: 117e74eac630650713e05ab086e18f79bc795feacommit hash: 117e74eac630650713e05ab086e18f79bc795feacommit hash: 117e74eac630650713e05ab086e18f79bc795feacommit hash: 117e74eac630650713e05ab086e18f79bc795fea files touched by this commit
Matthias Fechner (mfechner) search for other commits by this committer
databases/rubygem-pg_query: update to 5.1.0

Required for gitlab-ce 16.9.0

Changes:	https://github.com/pganalyze/pg_query/blob/main/CHANGELOG.md
4.2.3
19 Nov 2023 20:36:08
commit hash: aef056cf0fe1852a7b708d090310a6eb4853b269commit hash: aef056cf0fe1852a7b708d090310a6eb4853b269commit hash: aef056cf0fe1852a7b708d090310a6eb4853b269commit hash: aef056cf0fe1852a7b708d090310a6eb4853b269 files touched by this commit
Dimitry Andric (dim) search for other commits by this committer
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
4.2.3
08 Sep 2023 10:34:36
commit hash: a87787230277786a7dfaf2a1900223f70cc01d58commit hash: a87787230277786a7dfaf2a1900223f70cc01d58commit hash: a87787230277786a7dfaf2a1900223f70cc01d58commit hash: a87787230277786a7dfaf2a1900223f70cc01d58 files touched by this commit
Matthias Fechner (mfechner) search for other commits by this committer
databases/rubygem-pg_query: update to 4.2.3

Required for gitlab-ce 16.3.
Changelog:
https://github.com/pganalyze/pg_query/blob/main/CHANGELOG.md
4.2.1
06 Jul 2023 11:32:19
commit hash: 03804b40854e11e4749ec488783d7ebfeb5119e6commit hash: 03804b40854e11e4749ec488783d7ebfeb5119e6commit hash: 03804b40854e11e4749ec488783d7ebfeb5119e6commit hash: 03804b40854e11e4749ec488783d7ebfeb5119e6 files touched by this commit
Matthias Fechner (mfechner) search for other commits by this committer
databases/rubygem-pg_query: update to 4.2.1

Required for gitlab-ce 16.1
Changelog:
https://github.com/pganalyze/pg_query/blob/main/CHANGELOG.md

Upstream was a fix committed which breaks the compilation:
https://github.com/pganalyze/pg_query/commit/684aa77a21eb46188de0ab9bfdabcef71f591614
this is undone with a patch included here.
I reported this upstream:
https://github.com/pganalyze/pg_query/issues/291
Till this is fixed, we can keep the patch that undo 684aa77a21
2.2.1
03 Apr 2023 10:01:07
commit hash: d96b9e0f17a2c54b7ad5e72d55f22abe2681bf90commit hash: d96b9e0f17a2c54b7ad5e72d55f22abe2681bf90commit hash: d96b9e0f17a2c54b7ad5e72d55f22abe2681bf90commit hash: d96b9e0f17a2c54b7ad5e72d55f22abe2681bf90 files touched by this commit
Matthias Fechner (mfechner) search for other commits by this committer
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
2.2.0
14 Jan 2023 23:08:33
commit hash: 18c6e18276691edf5274406bf82a3b06792ff9aecommit hash: 18c6e18276691edf5274406bf82a3b06792ff9aecommit hash: 18c6e18276691edf5274406bf82a3b06792ff9aecommit hash: 18c6e18276691edf5274406bf82a3b06792ff9ae files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
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
2.2.0
11 Jan 2023 11:54:10
commit hash: 745993f31916fbb1df4c1a0ca30577fdb23909eacommit hash: 745993f31916fbb1df4c1a0ca30577fdb23909eacommit hash: 745993f31916fbb1df4c1a0ca30577fdb23909eacommit hash: 745993f31916fbb1df4c1a0ca30577fdb23909ea files touched by this commit
Matthias Fechner (mfechner) search for other commits by this committer
databases/rubygem-pg_query: update to 2.2.0

Required for gitlab-ce 15.6.
Changelog:
https://github.com/pganalyze/pg_query/blob/main/CHANGELOG.md
2.1.4
22 Nov 2022 09:38:23
commit hash: 68016d842a1dccee5236ed2c618655b8a812c436commit hash: 68016d842a1dccee5236ed2c618655b8a812c436commit hash: 68016d842a1dccee5236ed2c618655b8a812c436commit hash: 68016d842a1dccee5236ed2c618655b8a812c436 files touched by this commit
Matthias Fechner (mfechner) search for other commits by this committer
databases/rubygem-pg_query: update to 2.1.4

Required for gitlab-ce 15.5.
Changelog:
https://github.com/pganalyze/pg_query/blob/main/CHANGELOG.md
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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)
2.1.3
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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 View all of this commit message)
2.1.3
20 Jul 2022 14:21:07
commit hash: d076ad94e206dda108061fe99ddb860d93cc6d16commit hash: d076ad94e206dda108061fe99ddb860d93cc6d16commit hash: d076ad94e206dda108061fe99ddb860d93cc6d16commit hash: d076ad94e206dda108061fe99ddb860d93cc6d16 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
databases: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Choe, Cheng-Dae" whitekid
  *  "Mahdi Mokhtari <mokhi64@gmail.com>"
  *  "Meikel Brandmeyer" <ocaml-sqlite3-port@kotka.de>
  *  <hvo.pm@xs4all.nl>
  *  <jsmith@resonatingmedia.com>
  *  <ports@c0decafe.net>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Alan Snelson <Alan@Wave2.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.1.3
24 Jun 2022 10:20:03
commit hash: 5d47f98268faaba64c108f82423bdef15063416ecommit hash: 5d47f98268faaba64c108f82423bdef15063416ecommit hash: 5d47f98268faaba64c108f82423bdef15063416ecommit hash: 5d47f98268faaba64c108f82423bdef15063416e files touched by this commit
Matthias Fechner (mfechner) search for other commits by this committer
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
2.1.2
13 Nov 2021 14:44:38
commit hash: c2a0f7eb54514feaa6149134aabd6db54823c1bbcommit hash: c2a0f7eb54514feaa6149134aabd6db54823c1bbcommit hash: c2a0f7eb54514feaa6149134aabd6db54823c1bbcommit hash: c2a0f7eb54514feaa6149134aabd6db54823c1bb files touched by this commit
Matthias Fechner (mfechner) search for other commits by this committer
databases/rubygem-pg_query: update to 2.1.2

Changelog:
https://github.com/pganalyze/pg_query/blob/main/CHANGELOG.md
2.1.0
06 Jul 2021 09:52:35
commit hash: 943cc2e9f0474989ac172ceeef8994265e3dddb6commit hash: 943cc2e9f0474989ac172ceeef8994265e3dddb6commit hash: 943cc2e9f0474989ac172ceeef8994265e3dddb6commit hash: 943cc2e9f0474989ac172ceeef8994265e3dddb6 files touched by this commit
Matthias Fechner (mfechner) search for other commits by this committer
databases/rubygem-pg_query: Update to 2.1.0

This upgrade included patches upstream.
Changelog:
https://github.com/pganalyze/pg_query/blob/main/CHANGELOG.md
2.0.3_2
05 Jul 2021 06:01:52
commit hash: 4bbd995b742469b4d3c5a37f761dfaa6c32f3d76commit hash: 4bbd995b742469b4d3c5a37f761dfaa6c32f3d76commit hash: 4bbd995b742469b4d3c5a37f761dfaa6c32f3d76commit hash: 4bbd995b742469b4d3c5a37f761dfaa6c32f3d76 files touched by this commit
Matthias Fechner (mfechner) search for other commits by this committer
Author: VVD
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>
2.0.3_1
03 Jul 2021 06:03:17
commit hash: f599e3d403ba3e483266e56b1ed59961792a05dccommit hash: f599e3d403ba3e483266e56b1ed59961792a05dccommit hash: f599e3d403ba3e483266e56b1ed59961792a05dccommit hash: f599e3d403ba3e483266e56b1ed59961792a05dc files touched by this commit
Matthias Fechner (mfechner) search for other commits by this committer
databases/rubygem-pg_query: fix possible segfault

For more details see:
https://github.com/pganalyze/pg_query/pull/212
https://github.com/pganalyze/pg_query/pull/213
2.0.3
29 May 2021 16:23:55
commit hash: 287ad8044ed427d6217d8850f35ff954a9f5e188commit hash: 287ad8044ed427d6217d8850f35ff954a9f5e188commit hash: 287ad8044ed427d6217d8850f35ff954a9f5e188commit hash: 287ad8044ed427d6217d8850f35ff954a9f5e188 files touched by this commit
Matthias Fechner (mfechner) search for other commits by this committer
databases/rubygem-pg_query: Update to 2.0.3.

Required for gitlab-ce 13.12.
Changelog:
https://github.com/pganalyze/pg_query/blob/main/CHANGELOG.md
1.3.0
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.3.0
25 Jan 2021 11:57:22
Revision:562564Original commit files touched by this commit
mfechner search for other commits by this committer
New port required for gitlab-ce 13.8.

Number of commits found: 21