pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: KÖPFERL Robert <robert.koepferl@sonorys.at>
Cc: pgsql-sql@postgresql.org
Subject: Re: Returning a bool on DELETE in a proc.
Date: Wed, 19 Jan 2005 18:09:16 +0100
Message-ID: <ED4E30DD9C43D5118DFB00508BBBA76EB16577@neptun.sonorys.at> (raw)

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änner 2005 18:02
> To: KÖPFERL Robert
> Cc: pgsql-sql@postgresql.org
> Subject: Re: [SQL] Returning a bool on DELETE in a proc.
> 
> 
> On Wed, Jan 19, 2005 at 11:24:26AM +0100, KÖPFERL Robert wrote:
> 
> > Seems that I forgot to mention that this function is 
> intended to be written
> > in SQL, not in PL/SQL.
> 
> Why SQL instead of PL/pgSQL if the former doesn't do what you need
> and the latter does?
> 
> -- 
> Michael Fuhr
> http://www.fuhr.org/~mfuhr/
> 



view thread (8+ messages)  latest in thread

Message-ID: <ED4E30DD9C43D5118DFB00508BBBA76EB16577@neptun.sonorys.at>
Permalink:  ../ED4E30DD9C43D5118DFB00508BBBA76EB16577@neptun.sonorys.at/
Also on:    postgresql.org/message-id/ED4E30DD9C43D5118DFB00508BBBA76EB16577@neptun.sonorys.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: robert.koepferl@sonorys.at
  Subject: Re: Returning a bool on DELETE in a proc.
  In-Reply-To: <ED4E30DD9C43D5118DFB00508BBBA76EB16577@neptun.sonorys.at>
  References: <ED4E30DD9C43D5118DFB00508BBBA76EB16577@neptun.sonorys.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox