pass open cursor via USING in execute staement

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: domenico(dot)l76(at)gmail(dot)com
Subject: pass open cursor via USING in execute staement
Date: 2023-05-31 22:57:52
Message-ID: 168557387260.1230014.3975398352224062825@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/15/plpgsql-statements.html
Description:

Should be documented if this statement is allowed or not (if not, maybe set
as desired feature :-) )

EXECUTE format('update %I set col1=$1, col2=now() WHERE current of $3',
tabname)
USING myVal, myOpenCursor;

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Laurenz Albe 2023-06-01 14:23:44 Re: pass open cursor via USING in execute staement
Previous Message Daniel Gustafsson 2023-05-31 11:53:53 Re: confusing positioning of notes in connection settings