From: achill@matrix.gatewaynet.com
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org, <pgsql-sql@postgresql.org>
Subject: Re: HeapTuple->t_tableOid==0 after SPI_exec
Date: Fri, 3 Oct 2003 18:04:47 +0300 (EEST)
Message-ID: <Pine.LNX.4.44.0310031802570.9228-100000@matrix.gatewaynet.com> (raw)
In-Reply-To: <19369.1065192216@sss.pgh.pa.us>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: achill@matrix.gatewaynet.com, tgl@sss.pgh.pa.us
Subject: Re: HeapTuple->t_tableOid==0 after SPI_exec
In-Reply-To: <Pine.LNX.4.44.0310031802570.9228-100000@matrix.gatewaynet.com>
References: <19369.1065192216@sss.pgh.pa.us> <Pine.LNX.4.44.0310031802570.9228-100000@matrix.gatewaynet.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox