X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id DC53D8B9B86 for ; Thu, 10 Feb 2005 11:00:41 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 47136-01 for ; Thu, 10 Feb 2005 11:00:29 +0000 (GMT) Received: from smtp209.mail.sc5.yahoo.com (smtp209.mail.sc5.yahoo.com [216.136.130.117]) by svr1.postgresql.org (Postfix) with SMTP id 098778B9E89 for ; Thu, 10 Feb 2005 11:00:29 +0000 (GMT) Received: from unknown (HELO ?192.168.200.87?) (fxjrlists@200.181.81.129 with plain) by smtp209.mail.sc5.yahoo.com with SMTP; 10 Feb 2005 11:00:29 -0000 Message-ID: <420B46AC.9080002@yahoo.com.br> Date: Thu, 10 Feb 2005 09:34:04 -0200 From: "Francisco Figueiredo Jr." User-Agent: Mozilla Thunderbird 0.8 (X11/20041022) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-interfaces@postgresql.org Subject: Function return number of affected rows X-Enigmail-Version: 0.86.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.374 tagged_above=0 required=5 tests=DNS_FROM_RFC_ABUSE X-Spam-Level: X-Archive-Number: 200502/31 X-Sequence-Number: 5276 -----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-----