pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Stephens <bruce@cenderis.demon.co.uk>
To: pgsql-interfaces@postgresql.org
Subject: Re: Problem with ODBC in current CVS?
Date: 28 Aug 2000 22:55:09 +0100
Message-ID: <878ztht5j6.fsf@cenderis.demon.co.uk> (raw)
References: <87pumtnl0r.fsf@cenderis.demon.co.uk>

Bruce Stephens <bruce@cenderis.demon.co.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.)



view thread (4+ messages)  latest in thread

Message-ID: <878ztht5j6.fsf@cenderis.demon.co.uk>
Permalink:  ../878ztht5j6.fsf@cenderis.demon.co.uk/
Also on:    postgresql.org/message-id/878ztht5j6.fsf@cenderis.demon.co.uk

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: bruce@cenderis.demon.co.uk
  Subject: Re: Problem with ODBC in current CVS?
  In-Reply-To: <878ztht5j6.fsf@cenderis.demon.co.uk>

* 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