Retrieving the original table of a tuple stored in a tuplestore?

From: Spencer Pearson <crzybggr(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Retrieving the original table of a tuple stored in a tuplestore?
Date: 2011-06-27 01:52:30
Message-ID: BANLkTimKU3rQVNLu9v6Z6ynufpLha0GuOw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,
I'm pretty new to postgres, but I'm currently working on a project to
extend some of the code. For what we're doing, we need to sometimes store
tuples from multiple tables into the same tuplestore.
The way I understand the code, tuples stored in tuplestores do not also
store the TupleDesc or a way to access the original table the tuple came
from. This - again, as I understand the code - would make it impossible to
know what types of attributes are stored in the tuple.
Is there any way to find out which table a tuple that was previously
stored inside a tuplestore came from?

Thank you,
Spencer Pearson

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vincent Veyron 2011-06-27 02:45:40 Re: An amusing MySQL weakness--not!
Previous Message Martin Gainty 2011-06-27 00:10:36 Re: Postgres errors in Drupal install.