BSD Ports

databases/rubygem-pg_query 6.1.0 MidnightBSD

Parses SQL queries using a copy of the PostgreSQL server query parser

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
bsd3
Categories
databases, rubygems

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.

In the other systems

SystemPortVersion
MidnightBSDdatabases/rubygem-pg_query6.1.0
FreeBSDdatabases/rubygem-pg_query6.2.2_1
DragonFlydatabases/rubygem-pg_query5.1.0_1

Install

Binary package:

mport install pg_query

From mports:

cd /usr/mports/databases/rubygem-pg_query && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	pg_query>0:databases/rubygem-pg_query

Dependencies

As this port's Makefile names them.

Build 2

Runtime 1

Build dependencies 2
Run dependencies 1

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/pg_query-6.1.0.gem2.448896e+068b005229e209f12c5887c34c60d0eb2a241953b9475b53a9840d24578532481e
Master sites 1
  • RG