-misc bugs

This commit is contained in:
Christian Grothoff 2023-04-22 01:53:41 +02:00
parent 53157062cb
commit 89c5a3eca9
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -786,8 +786,13 @@ BEGIN
,in_reserve_expiration ,in_reserve_expiration
,in_gc_date) ,in_gc_date)
ON CONFLICT DO NOTHING ON CONFLICT DO NOTHING
RETURNING reserve_uuid,reserve_pub) RETURNING
SELECT reserve_uuid, reserve_pub FROM reserve_changes; reserve_uuid
,reserve_pub)
SELECT
reserve_uuid
,reserve_pub
FROM reserve_changes;
k=0; k=0;
<<loop_reserve>> LOOP <<loop_reserve>> LOOP
@ -1016,7 +1021,7 @@ BEGIN
k = k + 1; k = k + 1;
IF in5_reserve_pub = i.reserve_pub IF in5_reserve_pub = i.reserve_pub
THEN THEN
transaction_duplicate2 = FALSE; transaction_duplicate5 = FALSE;
EXECUTE FORMAT ( EXECUTE FORMAT (
'NOTIFY %s' 'NOTIFY %s'
,in5_notify); ,in5_notify);