From: | "Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp> |
---|---|
To: | "Karel Zak - Zakkr" <zakkr(at)zf(dot)jcu(dot)cz> |
Cc: | "Peter Eisentraut" <peter_e(at)gmx(dot)net>, "Jan Wieck" <wieck(at)debis(dot)com>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-hackers" <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | RE: [HACKERS] Cache query implemented |
Date: | 2000-03-01 01:35:04 |
Message-ID: | 000501bf831e$5ea9b120$2801007e@tpf.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> -----Original Message-----
> From: Karel Zak - Zakkr [mailto:zakkr(at)zf(dot)jcu(dot)cz]
>
> On Tue, 29 Feb 2000, Hiroshi Inoue wrote:
>
> > > -----Original Message-----
> > > From: Karel Zak - Zakkr [mailto:zakkr(at)zf(dot)jcu(dot)cz]
> > >
> > > > > EXECUTE name [ INTO x, y, ... ] [ USING a, b, ... ]
> > > >
> > > > This command "Associate input parametrs and output targets
> > > with a prepared
> > > > statement and execute the statement" (SQL92).
> > > >
> >
> > I don't know well about PREPARE statement.
> > But is above syntax for interative SQL command ?
> > Isn't it for embedded SQL or SQL module ?
>
> - PREPARE save to cache any standard sql command (OptimizableStmt).
> - EXECUTE run this cached plan (query) and send data to frontend or
> INTO any relation.
>
> Or what you mean?
>
In old Oracle(I don't know recent Oracle,sorry),PREPARE couldn't be called
as an interactive SQL command. It was used only in embedded SQL.
Seems x, y after INTO are output variables. In embedded SQL they are
host variables. But I don't know what they are in interactive SQL.
Regards.
Hiroshi Inoue
Inoue(at)tpf(dot)co(dot)jp
From | Date | Subject | |
---|---|---|---|
Next Message | Hiroshi Inoue | 2000-03-01 02:05:56 | RE: [HACKERS] Bug report for 7.0beta1 in 'CREATE FUNCTION...' |
Previous Message | The Hermit Hacker | 2000-03-01 01:14:01 | minor bug in 7.0: casting |