pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Stephens <bruce@cenderis.demon.co.uk>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Problem with ODBC in current CVS?
Date: Mon, 28 Aug 2000 19:36:00 -0400
Message-ID: <19494.967505760@sss.pgh.pa.us> (raw)
In-Reply-To: <87pumtnl0r.fsf@cenderis.demon.co.uk>
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.

They're pretty bogus all right.  I think usesysid=relowner should
work fine.  Try making the appropriate change in
src/interfaces/odbc/info.c and let us know how it goes...

			regards, tom lane



view thread (4+ messages)  latest in thread

Message-ID: <19494.967505760@sss.pgh.pa.us>
Permalink:  ../19494.967505760@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19494.967505760@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, bruce@cenderis.demon.co.uk
  Subject: Re: Problem with ODBC in current CVS?
  In-Reply-To: <19494.967505760@sss.pgh.pa.us>

* 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