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
libpg_query C library for accessing the PostgreSQL parser outside of the server
15.4.2.3 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 15.4.2.3Version of this port present on the latest quarterly branch.
Maintainer: mfechner@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2020-11-21 10:29:38
Last Update: 2024-01-23 05:21:40
Commit Hash: 836eb91
Also Listed In: devel
License: BSD3CLAUSE
WWW:
https://github.com/lfittl/libpg_query
Description:
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.
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 (6 items)
Collapse this list.
  1. include/pg_query.h
  2. lib/libpg_query.a
  3. @ldconfig
  4. /usr/local/share/licenses/libpg_query-15.4.2.3/catalog.mk
  5. /usr/local/share/licenses/libpg_query-15.4.2.3/LICENSE
  6. /usr/local/share/licenses/libpg_query-15.4.2.3/BSD3CLAUSE
Collapse this list.
Dependency lines:
  • libpg_query>0:databases/libpg_query
To install the port:
cd /usr/ports/databases/libpg_query/ && make install clean
To add the package, run one of these commands:
  • pkg install databases/libpg_query
  • pkg install libpg_query
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: libpg_query
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1702537287 SHA256 (lfittl-libpg_query-15-4.2.3_GH0.tar.gz) = 8b820d63442b1677ce4f0df2a95b3fafdbc520a82901def81217559ec4df9e6b SIZE (lfittl-libpg_query-15-4.2.3_GH0.tar.gz) = 4172169

Packages (timestamps in pop-ups are UTC):
libpg_query
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest15.4.2.315.4.2.310.1.0.4-----
FreeBSD:13:quarterly15.4.2.315.4.2.313.2.1.0---15.4.2.315.4.2.3
FreeBSD:14:latest15.4.2.315.4.2.313.2.1.0----13.2.1.0
FreeBSD:14:quarterly15.4.2.315.4.2.3----15.4.2.315.4.2.3
FreeBSD:15:latest15.4.2.315.4.2.3n/a-n/a-15.4.2.315.4.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. gmake>=4.3 : devel/gmake
Library dependencies:
  1. libpq.so.5 : databases/postgresql15-client
This port is required by:
for Build

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. databases/rubygem-gitlab-pg_query*
  2. Collapse this list of deleted ports.
for Run

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. databases/rubygem-gitlab-pg_query*
  2. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
No options to configure
Options name:
databases_libpg_query
USES:
compiler:c11 cpe gmake pgsql
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/lfittl/libpg_query/tar.gz/15-4.2.3?dummy=/
Collapse this list.

Number of commits found: 13

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
15.4.2.3
23 Jan 2024 05:21:40
commit hash: 836eb91960e2c025728a9b950dd7e4ea972d6301commit hash: 836eb91960e2c025728a9b950dd7e4ea972d6301commit hash: 836eb91960e2c025728a9b950dd7e4ea972d6301commit hash: 836eb91960e2c025728a9b950dd7e4ea972d6301 files touched by this commit
Matthias Fechner (mfechner) search for other commits by this committer
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
15.4.2.3
14 Dec 2023 11:48:35
commit hash: 8729ef326c800e86cdd6aa00bc319e409d4e1500commit hash: 8729ef326c800e86cdd6aa00bc319e409d4e1500commit hash: 8729ef326c800e86cdd6aa00bc319e409d4e1500commit hash: 8729ef326c800e86cdd6aa00bc319e409d4e1500 files touched by this commit
Matthias Fechner (mfechner) search for other commits by this committer
databases/libpg_query: update to 15-4.2.3

Changelog:
https://github.com/pganalyze/libpg_query/blob/15-latest/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)
13.2.1.0
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)
13.2.1.0
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)
13.2.1.0
07 Feb 2022 11:47:41
commit hash: b66e075a367c169889e04fc68d5de50556664759commit hash: b66e075a367c169889e04fc68d5de50556664759commit hash: b66e075a367c169889e04fc68d5de50556664759commit hash: b66e075a367c169889e04fc68d5de50556664759 files touched by this commit
Matthias Fechner (mfechner) search for other commits by this committer
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 View all of this commit message)
10.1.0.4
14 Oct 2021 21:30:04
commit hash: 961477c9e6dfaacbf0606b182f892f77267db0dccommit hash: 961477c9e6dfaacbf0606b182f892f77267db0dccommit hash: 961477c9e6dfaacbf0606b182f892f77267db0dccommit hash: 961477c9e6dfaacbf0606b182f892f77267db0dc files touched by this commit
Stefan Eßer (se) search for other commits by this committer
databases/libpg_query: Add CPE information

Approved by:	portmgr (blanket)
10.1.0.4
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.
10.1.0.4
04 Jan 2021 18:28:48
Revision:560321Original commit files touched by this commit
pkubaj search for other commits by this committer
databases/libpg_query: use upstream fix
10.1.0.4
01 Jan 2021 08:10:52
Revision:559812Original commit files touched by this commit
mfechner search for other commits by this committer
Update to 10-1.0.4.
Changelog:
https://github.com/lfittl/libpg_query/blob/10-latest/CHANGELOG.md
10.1.0.3_1
06 Dec 2020 22:01:47
Revision:557180Original commit files touched by this commit
pkubaj search for other commits by this committer
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
10.1.0.3_1
28 Nov 2020 14:55:57
Revision:556493Original commit files touched by this commit
mfechner search for other commits by this committer
Do not strip the library as ruby will then not be able to detect it if rubygems
require it.
10.1.0.3
21 Nov 2020 08:07:20
Revision:555813Original commit files touched by this commit
mfechner search for other commits by this committer
New ports required for gitlab-ce 13.6 upgrade.

Number of commits found: 13