Re: PREPARE, FK's and VIEWs

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
Cc: "Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PREPARE, FK's and VIEWs
Date: 2002-08-28 13:30:19
Message-ID: 20544.1030541419@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au> 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.

> Also, what if the person wants to prepare a view?

What does that mean? A view isn't preparable in isolation from the
query that's going to use it.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-08-28 13:52:40 Re: [SQL] LIMIT 1 FOR UPDATE or FOR UPDATE LIMIT 1?
Previous Message Tom Lane 2002-08-28 13:23:51 Re: MemoryContextAlloc: invalid request size 1934906735