Re: [SQL] HeapTuple->t_tableOid==0 after SPI_exec

Поиск
Список
Период
Сортировка
От achill@matrix.gatewaynet.com
Тема Re: [SQL] HeapTuple->t_tableOid==0 after SPI_exec
Дата
Msg-id Pine.LNX.4.44.0310031802570.9228-100000@matrix.gatewaynet.com
обсуждение исходный текст
Ответ на Re: [SQL] HeapTuple->t_tableOid==0 after SPI_exec  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: achill@matrix.gatewaynet.com
Дата:
Сообщение: HeapTuple->t_tableOid==0 after SPI_exec
Следующее
От: seunosewa@inaira.com (Seun Osewa)
Дата:
Сообщение: Dreaming About Redesigning SQL