Re: [PATCHES] prepareable statements - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [PATCHES] prepareable statements
Date
Msg-id Pine.LNX.4.44.0207272218020.9620-100000@localhost.localdomain
Whole thread Raw
In response to Re: [PATCHES] prepareable statements  (nconway@klamath.dyndns.org (Neil Conway))
List pgsql-hackers
Neil Conway writes:

> On Thu, Jul 25, 2002 at 10:54:04PM +0200, Peter Eisentraut wrote:
> > I'm not sure I like that.  It seems too confusing.  Why not keep
> > it as the standard says?  (After all, it is the PREPARE part that
> > we're adjusting, not EXECUTE.)
>
> I think it's both, isn't it? My understanding of Tom's post is that the
> features described by SQL92 are somewhat similar to the patch, but not
> directly related.

What I was trying to say is this: There is one "prepared statement"
facility in the standards that allows you to prepare a statement defined
in a host variable, whereas you are proposing one that specifies the
statement explicitly.  However, both of these are variants of the same
concept, so the EXECUTE command doesn't need to be different.

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: "Luis Alberto Amigo Navarro"
Date:
Subject: Re: Question about LWLockAcquire's use of semaphores instead of spinlocks
Next
From: Tom Lane
Date:
Subject: Re: tuple concurrently updated