Le 25/11/2010 09:41, Dave Page a écrit :
> On Thu, Nov 25, 2010 at 7:57 AM, Guillaume Lelarge
> <guilla...@lelarge.info> wrote:
>>
>> I don't really understand. These do not come from pgAdmin, right?
>> because we don't filter pg_enum by oid. We sort by oid for pg_enum (and
>> there's no way to do otherwise before 9.1), but we don't filter by oid.
>> So this example should be working (once you're connected, which is your
>> main issue IIRC).
> 
> Maybe not, but we do use OIDs in a bunch of places where things will
> break if pgPool returns results from a different server - for example,
> for refreshing a single object we often do something like:
> 
> type = typeFactory.CreateObjects(coll, 0, wxT("\n   AND t.oid=") + 
> GetOidStr());
> 
> Fixing all those instances would take some work, but would at least be
> feasible.

Actually, I don't see how you can do that. The OIDs are used there as a
unique identifier for this object.

> What I don't see an easy fix for, is that we also use xmin
> to detect external changes to some object types.

You mean for functions? yeah, that would be another issue.


-- 
Guillaume
 http://www.postgresql.fr
 http://dalibo.com

-- 
Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-support

Reply via email to