X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 002833A42A5 for ; Wed, 19 Jan 2005 17:09:27 +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 16278-06 for ; Wed, 19 Jan 2005 17:09:20 +0000 (GMT) Received: from mx-00.sil.at (mx-00.sil.at [62.116.68.196]) by svr1.postgresql.org (Postfix) with ESMTP id 9B8B43A41AB for ; Wed, 19 Jan 2005 17:09:18 +0000 (GMT) Received: (qmail-ldap/ctrl 19372 invoked from network); 19 Jan 2005 17:09:14 -0000 Received: from unknown (HELO jupiter.sonorys.at) ([213.235.243.42]) (envelope-sender ) by mx-00.sil.at (qmail-ldap-1.03) with SMTP for ; 19 Jan 2005 17:09:14 -0000 Received: from neptun.sonorys.at (neptun.sonorys.at [172.24.1.17]) by jupiter.sonorys.at (8.11.7+Sun/8.11.7) with ESMTP id j0JH9Ss19941 for ; Wed, 19 Jan 2005 18:09:28 +0100 (MET) Received: by neptun.sonorys.at with Internet Mail Service (5.5.2653.19) id ; Wed, 19 Jan 2005 18:09:17 +0100 Message-ID: From: =?ISO-8859-1?Q?K=D6PFERL_Robert?= To: Cc: pgsql-sql@postgresql.org Subject: Re: Returning a bool on DELETE in a proc. Date: Wed, 19 Jan 2005 18:09:16 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new at hub.org X-Archive-Number: 200501/150 X-Sequence-Number: 19938 It's ... hm I have the feeling that even complicated and boxed queries are faster = or can be optimized by the planer than any PLpgsql. Isn't there a motule that = has to be invoked? I'm capable to learn. > -----Original Message----- > From: Michael Fuhr [mailto:mike@fuhr.org] > Sent: Mittwoch, 19. J=E4nner 2005 18:02 > To: K=D6PFERL Robert > Cc: pgsql-sql@postgresql.org > Subject: Re: [SQL] Returning a bool on DELETE in a proc. >=20 >=20 > On Wed, Jan 19, 2005 at 11:24:26AM +0100, K=D6PFERL Robert wrote: >=20 > > Seems that I forgot to mention that this function is=20 > intended to be written > > in SQL, not in PL/SQL. >=20 > Why SQL instead of PL/pgSQL if the former doesn't do what you need > and the latter does? >=20 > --=20 > Michael Fuhr > http://www.fuhr.org/~mfuhr/ >=20