is there somebody with access to db2?

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: is there somebody with access to db2?
Date: 2011-08-24 20:38:16
Message-ID: CAFj8pRATWQrTV1Mu02d8eTVDx-MYbP1CwhmbdWP=Xv5AGe=2Jg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello,

I am interesting about a CONTINUE HANDLER behave, please can you
check, and send a result of following function?

CREATE FUNCTION REVERSE(INSTR VARCHAR(4000))
RETURNS INT
DETERMINISTIC NO EXTERNAL ACTION CONTAINS SQL
BEGIN
DECLARE RES INT;
DECLARE CONTINUE HANDLER FOR SQLEXCEPTION
SET RES = 10;
BEGIN
SIGNAL '33333';
SET RES = 30;
END;
RETURN RES;
END;

Thank you

Regards

Pavel Stehule

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2011-08-24 21:01:50 Re: pg_dump --exclude-table-data
Previous Message Daniel Farina 2011-08-24 20:04:55 Re: Should I implement DROP INDEX CONCURRENTLY?