Re: [SQL] HeapTuple->t_tableOid==0 after SPI_exec - Mailing list pgsql-hackers

From achill@matrix.gatewaynet.com
Subject Re: [SQL] HeapTuple->t_tableOid==0 after SPI_exec
Date
Msg-id Pine.LNX.4.44.0310031802570.9228-100000@matrix.gatewaynet.com
Whole thread Raw
In response to Re: [SQL] HeapTuple->t_tableOid==0 after SPI_exec  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Fri, 3 Oct 2003, Tom Lane wrote:

> 
> I think in 7.4 there may be an optimization that skips the tuple
> projection step in this particular case, but if you can in fact see
> t_tableOid in 7.4, it'd be an implementation artifact rather than
> something we will promise to support in future.  The correct way if you
> want to see tableoid is to select it:
> 
>     select tableoid,* from foobar where ...
> 
> and then extract it from the result using the usual field-access
> routines.

Thanx.

P.S.

are there gonna be changes in SPI or internal structs in 7.4?

> 
>             regards, tom lane
> 

-- 
-Achilleus



pgsql-hackers by date:

Previous
From: achill@matrix.gatewaynet.com
Date:
Subject: HeapTuple->t_tableOid==0 after SPI_exec
Next
From: seunosewa@inaira.com (Seun Osewa)
Date:
Subject: Dreaming About Redesigning SQL