[Collab-qa-commits] r2399 - udd/sql

Andreas Tille tille at alioth.debian.org
Mon Jul 2 13:38:41 UTC 2012


Author: tille
Date: 2012-07-02 13:38:41 +0000 (Mon, 02 Jul 2012)
New Revision: 2399

Modified:
   udd/sql/versions_archs_components.sql
Log:
Make sure the pgplsql code is properly replaced by plain sql


Modified: udd/sql/versions_archs_components.sql
===================================================================
--- udd/sql/versions_archs_components.sql	2012-07-02 03:01:07 UTC (rev 2398)
+++ udd/sql/versions_archs_components.sql	2012-07-02 13:38:41 UTC (rev 2399)
@@ -8,7 +8,7 @@
  * See below for an usage example.                                                 *
  ***********************************************************************************/
 
-CREATE OR REPLACE FUNCTION versions_archs_component_sql (text) RETURNS SETOF RECORD AS $$
+CREATE OR REPLACE FUNCTION versions_archs_component (text) RETURNS SETOF RECORD AS $$
        SELECT p.release, version, archs, component FROM
           ( SELECT release || CASE WHEN char_length(substring(distribution from '-.*')) > 0
                                         THEN substring(distribution from '-.*')




More information about the Collab-qa-commits mailing list