Red Hat Bugzilla – Bug 447755
Review Request: postgresql-plpgpsm - Implementation of SQL/PSM language for PostgreSQL
Last modified: 2010-01-25 19:03:32 EST
In 1998 a draft of the new standard became part of SQL3 - under the
name SQL/PSM (ANSI/ISO/IEC 9075-4:1999). Unfortunately at that time
most big companies had their own languages (incompatible with the
standard) and refused to abandon them in favor of standard. SQL/PSM
was implemented only in those RDBMS, in which there was no support for
stored procedures before 1998. Except for DB2 (SQL PL, IBM, 2001) all
of them were minor RDBMS: Miner, Solid, 602SQL Server. After 2005 the
SQL/PSM standard started to become more popular, when it was
implemented in Advantage Database Server (Sybase iAnywhere, 2005),
MySQL (2005) and PostgreSQL (2007). Implementation of SQL/PSM is
usually incomplete, SQL PL in DB2 is considered to be one of the best
implementations. PostgreSQL implementation is called PL/pgPSM (using
the standard naming scheme in PostgreSQL).
It looks like $RPM_OPT_FLAGS are not honoured.
Also the package does not build on koji, which looks like missing BRs:
bison -y -d gram.y
/usr/bin/flex -o'pl_scan.c' scan.l
make: execvp: bison: Permission denied
make: /usr/bin/flex: Command not found
make: *** [pl.tab.h] Error 127
make: *** Waiting for unfinished jobs....
make: *** [pl_scan.c] Error 127
Please remove the NotReady from the Whiteboard when this review request is ready for a review, i.e. at least builds in koji and the $RPM_OPT_FLAGS are honoured. You can test it yourself with:
koji build --scratch dist-f12 /path/to/*.src.rpm
Please post the URL of the koji scratch build, if you did one.
I'm no longer interested in maintaining this package (Also 8.3+ version is not around).