Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group