From ccf2927a3ae7d5e383dad07d4e7a375d471b4f90 Mon Sep 17 00:00:00 2001 From: tspc Date: Tue, 22 Jul 2008 00:47:30 +0000 Subject: [PATCH] BF2022161 Process MRPUpdate failing - nextidfunc() missing on some postgresql systems - remove old placeholders --- migration/351a-trunk/224_Placeholder_for_Trunk.sql | 0 migration/351a-trunk/234_create_nextidfunc.sql | 2 ++ .../351a-trunk/postgresql/224_Placeholder_for_Trunk.sql | 0 migration/351a-trunk/postgresql/234_create_nextidfunc.sql | 7 +++++++ 4 files changed, 9 insertions(+) delete mode 100644 migration/351a-trunk/224_Placeholder_for_Trunk.sql create mode 100644 migration/351a-trunk/234_create_nextidfunc.sql delete mode 100644 migration/351a-trunk/postgresql/224_Placeholder_for_Trunk.sql create mode 100644 migration/351a-trunk/postgresql/234_create_nextidfunc.sql diff --git a/migration/351a-trunk/224_Placeholder_for_Trunk.sql b/migration/351a-trunk/224_Placeholder_for_Trunk.sql deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/migration/351a-trunk/234_create_nextidfunc.sql b/migration/351a-trunk/234_create_nextidfunc.sql new file mode 100644 index 0000000000..83eaf8a5fa --- /dev/null +++ b/migration/351a-trunk/234_create_nextidfunc.sql @@ -0,0 +1,2 @@ +-- placeholder +-- migration script just for postgresql diff --git a/migration/351a-trunk/postgresql/224_Placeholder_for_Trunk.sql b/migration/351a-trunk/postgresql/224_Placeholder_for_Trunk.sql deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/migration/351a-trunk/postgresql/234_create_nextidfunc.sql b/migration/351a-trunk/postgresql/234_create_nextidfunc.sql new file mode 100644 index 0000000000..3872afeed4 --- /dev/null +++ b/migration/351a-trunk/postgresql/234_create_nextidfunc.sql @@ -0,0 +1,7 @@ +-- missing function nextIDfunc +CREATE OR REPLACE FUNCTION nextIDfunc(AD_Sequence_ID INTEGER, System VARCHAR) +RETURNS INTEGER +AS 'org.compiere.sqlj.Adempiere.nextIDfunc(int,java.lang.String)' +LANGUAGE java VOLATILE; + +ALTER FUNCTION nextIDfunc(AD_Sequence_ID INTEGER, System VARCHAR) OWNER TO adempiere;