Function return number of affected rows - Mailing list pgsql-interfaces

From Francisco Figueiredo Jr.
Subject Function return number of affected rows
Date
Msg-id 420B46AC.9080002@yahoo.com.br
Whole thread Raw
Responses Re: Function return number of affected rows
List pgsql-interfaces
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Hi all,

I'd like to know if it is possible to get the number of affected rows of
an insert, update or delete command inside a function.

I'd like to know that, because I want to add this support, if possible,
to Npgsql.

I know the server sends a CompletedResponse message indicating the
number of rows affected by a insert update and delete sent directly. But
if this is inside a function? Is it possible to get this message too?

Thanks in advance.



- --
Regards,

Francisco Figueiredo Jr.
Membro Fundador do Projeto MonoBrasil - MonoBrasil Project Founder Member
http://monobrasil.softwarelivre.org



- -------------
"Science without religion is lame;
religion without science is blind."

~                  ~ Albert Einstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQEVAwUBQgtGq/7iFmsNzeXfAQIcBwgAosSQMFPBlJZc7DkdOdyuKyLfwlNPHyrv
5aHcDsw0BH069oMzIpMF6xwEmrXrEeNfTzd1SU04uIHFesGf9ps3KZDr/BV/n3lU
ocrREvxgor8lnFyVUxde1+FIe0fHWq0WlfPXkVISPDHXPRY68WICl8y3nzlZg6mJ
NDDU4Du/i3YoE059ZXq0S30MKwMLqGAxXF+stp3wPjexSaZmG8p+hHj1dAyyhO39
RvKQP796nv3t0uQcAxvcHJquxwEhHEJWdvXjoSEvg8gTO+SatoMVP4Z4p//7ZmdB
v3vY97yZIyI/58VnWiVaHWj8V80qwF/E0QVstI8X6GlASeV9ShRe4A==
=NraD
-----END PGP SIGNATURE-----



pgsql-interfaces by date:

Previous
From: Seamus Thomas Carroll
Date:
Subject: Re: Help with adding C-Language Functions
Next
From: Murray Cumming
Date:
Subject: Connecting without specifying a database