Re: Problem with ODBC in current CVS?

From: Bruce Stephens <bruce(at)cenderis(dot)demon(dot)co(dot)uk>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: Problem with ODBC in current CVS?
Date: 2000-08-28 21:55:09
Message-ID: 878ztht5j6.fsf@cenderis.demon.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Bruce Stephens <bruce(at)cenderis(dot)demon(dot)co(dot)uk> writes:

[...]

> select relname,usename,relhasrules from pg_class,pg_user
> where relkind = 'r' and relname !~ '^pg_|^dd_' and
> relname !~ '^xinv[0-9]+' and
> int4out(usesysid) = int4out(relowner)order by relname
>
> which returns no rows when I try it by hand. These int4out's look
> iffy to me. Aren't usesysid and relowner int2? Why does it need to
> do any conversion anyway? Why not just usesysid=relowner? What am I
> missing?

Hmm. If I remove the int4out calls from src/interfaces/odbc/info.c,
then things work. Is this the right thing to do, or have I got
something broken elsewhere which I should fix?

(The regressions pass, BTW, and I'm using a pretty generic box: Debian
unstable, i386, gcc-2.95.2.)

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Tom Lane 2000-08-28 23:36:00 Re: Problem with ODBC in current CVS?
Previous Message Bruce Stephens 2000-08-28 21:17:08 Problem with ODBC in current CVS?