From 12023c1d821617c2f6f6576e2682cd8a7f7bc85f Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Sat, 1 Nov 2008 03:21:45 +0000 Subject: [PATCH] correct functions - must end to concatenate in one script --- db/ddlutils/postgresql/functions/C_Invoice_PaidToDate.sql | 2 +- db/ddlutils/postgresql/functions/ProductAttribute.sql | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/db/ddlutils/postgresql/functions/C_Invoice_PaidToDate.sql b/db/ddlutils/postgresql/functions/C_Invoice_PaidToDate.sql index 73fa41e929..71e77bc320 100644 --- a/db/ddlutils/postgresql/functions/C_Invoice_PaidToDate.sql +++ b/db/ddlutils/postgresql/functions/C_Invoice_PaidToDate.sql @@ -67,4 +67,4 @@ BEGIN RETURN ROUND(COALESCE(v_PaymentAmt,0), 2) * v_MultiplierAP; END; $BODY$ -LANGUAGE 'plpgsql' STABLE STRICT +LANGUAGE 'plpgsql' STABLE STRICT; diff --git a/db/ddlutils/postgresql/functions/ProductAttribute.sql b/db/ddlutils/postgresql/functions/ProductAttribute.sql index 3463eac733..34b58d2c2b 100644 --- a/db/ddlutils/postgresql/functions/ProductAttribute.sql +++ b/db/ddlutils/postgresql/functions/ProductAttribute.sql @@ -1,3 +1,5 @@ +set client_encoding='LATIN1'; + CREATE OR REPLACE FUNCTION ProductAttribute ( p_M_AttributeSetInstance_ID NUMERIC