Permalink
Browse files

Merge pull request #119 from davidbeauchamp/22623

Issue #22623: xtdist430rcto430 fails to upgrade on PostgreSQL 9.2+
  • Loading branch information...
Greg Pazo
Greg Pazo committed Feb 11, 2014
2 parents 02fe20d + e6b6867 commit 4629af39e85dd1401e27c666b8e0d16401343b5f
Showing with 1 addition and 1 deletion.
  1. +1 −1 dbscripts/functions/formatsonumber.sql
@@ -4,4 +4,4 @@ CREATE OR REPLACE FUNCTION formatSoNumber(INTEGER) RETURNS TEXT AS $$
SELECT COALESCE((SELECT (text(cohead_number) || '-' || formatSoLineNumber(coitem_id))
FROM coitem JOIN cohead ON (coitem_cohead_id=cohead_id)
WHERE (coitem_id=($1))),'DELETED');
-$$ LANGUAGE 'SQL' STABLE;
+$$ LANGUAGE 'sql' STABLE;

0 comments on commit 4629af3

Please sign in to comment.