Re: [HACKERS] PREPARE, FK's and VIEWs

2002-08-28 Thread Stephan Szabo
On Wed, 28 Aug 2002, Christopher Kings-Lynne wrote: > Now that we have prepared statements, should the foreign key code be changed > to use them? I think it's highly likely that they will be reused in a > connection. Might be an idea. It might be worth doing eventually just to standardize, but

Re: [HACKERS] PREPARE, FK's and VIEWs

2002-08-28 Thread Tom Lane
"Christopher Kings-Lynne" <[EMAIL PROTECTED]> writes: > Now that we have prepared statements, should the foreign key code be changed > to use them? I think it's highly likely that they will be reused in a > connection. Might be an idea. Waste of time; the FK code already does this for itself.

Re: [HACKERS] PREPARE, FK's and VIEWs

2002-08-27 Thread Karel Zak
On Wed, Aug 28, 2002 at 02:53:46PM +0800, Christopher Kings-Lynne wrote: > > Now that we have prepared statements, should the foreign key code be changed > to use them? I think it's highly likely that they will be reused in a > connection. Might be an idea. No FK, but more common is integrate

[HACKERS] PREPARE, FK's and VIEWs

2002-08-27 Thread Christopher Kings-Lynne
Hi, Now that we have prepared statements, should the foreign key code be changed to use them? I think it's highly likely that they will be reused in a connection. Might be an idea. Also, what if the person wants to prepare a view? Should they have to PREPARE or should we automatically prepar