Re: [HACKERS] PREPARE

Bruce Momjian <maillist@candle.pha.pa.us>

From: Bruce Momjian <maillist@candle.pha.pa.us>
To: lockhart@alumni.caltech.edu (Thomas G. Lockhart)
Cc: meskes@usa.net, pgsql-hackers@hub.org
Date: 1998-11-17T16:16:52Z
Lists: pgsql-hackers
> > I'm still holding back PREPARE for ecpg until I can think of a
> > good solution. The best of course would be in the backend.
> 
> So what would it take to do this in the backend? I think the places
> which would need to be touched fall into areas I either know about or am
> starting to look at to implement the CASE clause.
> 
> We'd need:
>   - a "named buffer" (or several) to hold the intermediate input

portals

>   - a way to pass in parameters or substitution arguments

SQL functions?

>   - a way to decide if previous parser/planner/executor
>     results can be reused


-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026