Allow MERGE to be executed from PL/Tcl

From: Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Allow MERGE to be executed from PL/Tcl
Date: 2023-02-20 19:49:56
Message-ID: CAEZATCUMe+_KedPMM9AxKqm=SZogSxjUcrMe+sakusZh3BFcQw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Another one noticed in the MERGE RETURNING patch -- this allows PL/Tcl
to execute MERGE (i.e., don't fail when SPI returns SPI_OK_MERGE). I'm
not sure if anyone uses PL/Tcl anymore, but it's a trivial fix,
probably not worth a regression test case.

Regards,
Dean

Attachment Content-Type Size
allow-merge-in-pltcl.patch application/x-patch 372 bytes

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2023-02-20 20:17:47 Re: pgbench: using prepared BEGIN statement in a pipeline could cause an error
Previous Message Dean Rasheed 2023-02-20 19:49:23 Re: Missing cases from SPI_result_code_string()