dev-db/libpg_query (guru)

Search

Install

Install this package:

emerge -a dev-db/libpg_query

Package Information

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. Note that this is mostly intended as a base library for pg_query (Ruby), pg_query.go (Go), pgsql-parser (Node), psqlparse (Python) and pglast (Python 3). You can find further background to why a query's parse tree is useful here: https://pganalyze.com/blog/parse-postgresql-queries-in-ruby.html
Homepage:
https://github.com/pganalyze/libpg_query
License:
BSD

Versions

Version EAPI Keywords Slot
17.6.0.0 8 ~amd64 0/16
16.5.1.0 8 ~amd64 0/16

Metadata

Description

Maintainers

Upstream

Raw Metadata XML
<pkgmetadata>
	<maintainer type="person">
		<email>julien@jroy.ca</email>
		<name>Julien Roy</name>
	</maintainer>
	<longdescription>
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.

Note that this is mostly intended as a base library for pg_query (Ruby), pg_query.go (Go), pgsql-parser (Node), psqlparse (Python) and pglast (Python 3).

You can find further background to why a query's parse tree is useful here: https://pganalyze.com/blog/parse-postgresql-queries-in-ruby.html
	</longdescription>
	<slots>
		<subslots>dev-db/postgresql target version</subslots>
	</slots>
	<upstream>
		<changelog>https://github.com/pganalyze/libpg_query/releases</changelog>
		<bugs-to>https://github.com/pganalyze/libpg_query/issues</bugs-to>
		<remote-id type="github">pganalyze/libpg_query</remote-id>
	</upstream>
</pkgmetadata>

Lint Warnings

USE Flags

Manage flags for this package: euse -i <flag> -p dev-db/libpg_query | euse -E <flag> -p dev-db/libpg_query | euse -D <flag> -p dev-db/libpg_query

Flag Description 17.6.0.0 16.5.1.0
examples Also install wl-present ⚠️
static-libs ⚠️

Manifest

Type File Size Versions
DIST libpg_query-16.5.1.0.gh.tar.gz 4296325 bytes 16.5.1.0
DIST libpg_query-17.6.0.0.gh.tar.gz 4497708 bytes 17.6.0.0
Unmatched Entries
Type File Size