Re: PREPARE, FK's and VIEWs - Mailing list pgsql-hackers

From Tom Lane
Subject Re: PREPARE, FK's and VIEWs
Date
Msg-id 20544.1030541419@sss.pgh.pa.us
Whole thread Raw
In response to PREPARE, FK's and VIEWs  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List pgsql-hackers
"Christopher Kings-Lynne" <chriskl@familyhealth.com.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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: MemoryContextAlloc: invalid request size 1934906735
Next
From: Bruce Momjian
Date:
Subject: Re: [SQL] LIMIT 1 FOR UPDATE or FOR UPDATE LIMIT 1?