-misc fixes
This commit is contained in:
parent
be1d8afaec
commit
76b934b219
@ -145,14 +145,12 @@ LANGUAGE plpgsql
|
|||||||
AS $$
|
AS $$
|
||||||
DECLARE
|
DECLARE
|
||||||
curs_reserve_exist REFCURSOR;
|
curs_reserve_exist REFCURSOR;
|
||||||
|
DECLARE
|
||||||
|
k INT8;
|
||||||
DECLARE
|
DECLARE
|
||||||
curs_transaction_exist REFCURSOR;
|
curs_transaction_exist REFCURSOR;
|
||||||
DECLARE
|
DECLARE
|
||||||
i RECORD;
|
i RECORD;
|
||||||
DECLARE
|
|
||||||
r RECORD;
|
|
||||||
DECLARE
|
|
||||||
k INT8;
|
|
||||||
BEGIN
|
BEGIN
|
||||||
transaction_duplicate0 = TRUE;
|
transaction_duplicate0 = TRUE;
|
||||||
transaction_duplicate1 = TRUE;
|
transaction_duplicate1 = TRUE;
|
||||||
@ -255,8 +253,6 @@ BEGIN
|
|||||||
RETURNING reserve_pub)
|
RETURNING reserve_pub)
|
||||||
SELECT reserve_pub FROM reserve_transaction;
|
SELECT reserve_pub FROM reserve_transaction;
|
||||||
|
|
||||||
FETCH FROM curs_transaction_exist INTO r;
|
|
||||||
|
|
||||||
k=0;
|
k=0;
|
||||||
<<loop_transaction>> LOOP
|
<<loop_transaction>> LOOP
|
||||||
FETCH FROM curs_transaction_exist INTO i;
|
FETCH FROM curs_transaction_exist INTO i;
|
||||||
|
Loading…
Reference in New Issue
Block a user