Re: Problem while updating a foreign table pointing to a partitioned table on foreign server

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Ashutosh Bapat <ashutosh(dot)bapat(at)enterprisedb(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Problem while updating a foreign table pointing to a partitioned table on foreign server
Date: 2018-05-17 21:02:12
Message-ID: 7936.1526590932@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> Yeah, but I'm not sure I like that solution very much. I don't think
> abusing the tableoid to store a remote table OID is very nice.

I'd say it's totally unacceptable. Tableoid *has to* be something
that you can look up in the local pg_class instance, or serious
confusion will ensue.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2018-05-17 21:03:45 Re: Problem while updating a foreign table pointing to a partitioned table on foreign server
Previous Message David Rowley 2018-05-17 20:56:05 Re: Incorrect comment in get_partition_dispatch_recurse