pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Patrick Welche <prlw1@newn.cam.ac.uk>
To: pgsql-interfaces@postgresql.org
Subject: PsqlODBC broken due to int4out(usesysid)
Date: Mon, 2 Oct 2000 16:36:02 +0100
Message-ID: <20001002163602.H22505@quartz.newn.cam.ac.uk> (raw)

The aim is to import a table from postgresql into M$ access using
PsqlODBC v06-50-0000. This is with
 PostgreSQL 7.1devel on i386-unknown-netbsdelf1.5E, compiled by GCC egcs-1.1.2
source code of 14 August.

Problem: the pointy clicky box appears with no tables to select for import as
the driver sends:

select relname,usename,relhasrules
 from pg_class,pg_user
 where relkind = 'r'
 and relname !~'^xinv[0-9]+'
 and int4out(usesysid)= int4out(relowner)
 order by relname;

Reason: AFAICT it really doesn't want "int4out"..

select relname,usename,relhasrules
 from pg_class,pg_user
 where relkind = 'r'
 and relname !~'^xinv[0-9]+'
 and usesysid = relowner
 order by relname;

works fine.. Can someone fix please?

Cheers,

Patrick



view thread (3+ messages)  latest in thread

Message-ID: <20001002163602.H22505@quartz.newn.cam.ac.uk>
Permalink:  ../20001002163602.H22505@quartz.newn.cam.ac.uk/
Also on:    postgresql.org/message-id/20001002163602.H22505@quartz.newn.cam.ac.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: prlw1@newn.cam.ac.uk
  Subject: Re: PsqlODBC broken due to int4out(usesysid)
  In-Reply-To: <20001002163602.H22505@quartz.newn.cam.ac.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