[open-ils-commits] r10195 - trunk/Open-ILS/src/sql/Pg

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Jul 30 14:19:02 EDT 2008


Author: miker
Date: 2008-07-30 14:18:53 -0400 (Wed, 30 Jul 2008)
New Revision: 10195

Modified:
   trunk/Open-ILS/src/sql/Pg/010.schema.biblio.sql
Log:
... and a typo fix to the fix

Modified: trunk/Open-ILS/src/sql/Pg/010.schema.biblio.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/010.schema.biblio.sql	2008-07-30 18:17:19 UTC (rev 10194)
+++ trunk/Open-ILS/src/sql/Pg/010.schema.biblio.sql	2008-07-30 18:18:53 UTC (rev 10195)
@@ -21,7 +21,7 @@
 CREATE SCHEMA biblio;
 
 CREATE SEQUENCE biblio.autogen_tcn_value_seq;
-CREATE FUNCTION OR REPLACE biblio.next_autogen_tcn_value () RETURNS TEXT AS $$
+CREATE OR REPLACE FUNCTION biblio.next_autogen_tcn_value () RETURNS TEXT AS $$
 	BEGIN RETURN 'AUTOGENERATED-' || nextval('biblio.autogen_tcn_value_seq'::TEXT); END;
 $$ LANGUAGE PLPGSQL;
 



More information about the open-ils-commits mailing list