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

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

> Regarding the syntax for EXECUTE, it occurs to me that it could be made
> to be more similar to the PREPARE syntax -- i.e.
>
> PREPARE foo(text, int) AS ...;
>
> EXECUTE foo('a', 1);
>
> (rather than EXECUTE USING -- the effect being that prepared statements
> now look more like function calls on a syntactical level, which I think
> is okay.)

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.)

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: "Kangmo, Kim"
Date:
Subject: Re: tuple concurrently updated
Next
From: Peter Eisentraut
Date:
Subject: Re: CREATE SYNONYM suggestions