From 45f1ac7279addd49656624040989b7302b67bf5d Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Mon, 29 Oct 2012 14:01:18 +0200 Subject: [PATCH] 2to3 upgrade: Add DROP FUNCTION to work around param renaming. Also stop generating the script, it's final now. --- upgrade/Makefile | 2 +- upgrade/final/v3.0_pgq_core.sql | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/upgrade/Makefile b/upgrade/Makefile index 33d52815..6cf0f859 100644 --- a/upgrade/Makefile +++ b/upgrade/Makefile @@ -1,7 +1,7 @@ #SQLS = v2.1.5_londiste.sql v2.1.5_pgq_core.sql v2.1.5_pgq_ext.sql #SQLS = v2.1.6_londiste.sql v2.1.6_pgq_ext.sql -SQLS = v3.0_pgq_core.sql +#SQLS = v3.0_pgq_core.sql SRCS = $(addprefix src/, $(SQLS)) DSTS = $(addprefix final/, $(SQLS)) diff --git a/upgrade/final/v3.0_pgq_core.sql b/upgrade/final/v3.0_pgq_core.sql index c3253f26..f2a3f981 100644 --- a/upgrade/final/v3.0_pgq_core.sql +++ b/upgrade/final/v3.0_pgq_core.sql @@ -1768,6 +1768,7 @@ begin end; $$ language plpgsql; +drop function pgq.next_batch(text, text); create or replace function pgq.next_batch( in i_queue_name text, in i_consumer_name text) -- 2.39.5