Search Postgresql Archives

Re: How do BEGIN/COMMIT/ABORT operate in a nested SPI query?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



<david@xxxxxxxx> writes:
> From: Tom Lane [mailto:tgl@xxxxxxxxxxxxx]
>> Define "executes".  You could shove those lines in via the wire protocol,
>> sure, but SPI won't take them.

> Now you really have me puzzled. What I provided is an extract from the log
> of generated SQL commands sent to the SPI interface. [Obviously there also
> values bound to the parameters which do not show up here.]

> The code executes without error and produces exactly the output I expected.

Are you remembering to check the result code from SPI_execute_whatever?

			regards, tom lane


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux