pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tim Bosinius <tim@bosinius.de>
To: 'pgsql-interfaces@postgreSQL.org' <pgsql-interfaces@postgreSQL.org>
Subject: another ODBC/Access question..
Date: Thu, 4 Jun 1998 18:37:56 +0200
Message-ID: <01BD8FE8.0612EC50.tim@bosinius.de> (raw)

When connecting Access97 to a postgreSQL datasource with ODBC
the pg_attribute.attnuotnull is not queried and therefore not set
in Access.

this is in the psqlodbc logfile:
conn=154147544, query='BEGIN'
conn=154147544, query='declare SQL_CUR154411144 cursor for select 
u.usename, c.relname, a.attname, a.atttypid,t.typname, a.attnum, a.attlen, 
a.atttypmod from pg_user u, pg_class c, pg_attribute a, pg_type t where 
int4out(u.usesysid) = int4out(c.relowner) and .oid= a.attrelid and 
a.atttypid = t.oid and (a.attnum > 0) and c.relname like 'test' order by 
attnum'
conn=154147544, query='fetch 100 in SQL_CUR154411144'
   [ fetched 2 rows ]
conn=154147544, query='close SQL_CUR154411144'
conn=154147544, query='END'



Is this a bug in the ODBC driver or an Access problem?


Tim Bosinius




view thread (2+ messages)  latest in thread

Message-ID: <01BD8FE8.0612EC50.tim@bosinius.de>
Permalink:  ../01BD8FE8.0612EC50.tim@bosinius.de/
Also on:    postgresql.org/message-id/01BD8FE8.0612EC50.tim@bosinius.de

 · 

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: tim@bosinius.de
  Subject: Re: another ODBC/Access question..
  In-Reply-To: <01BD8FE8.0612EC50.tim@bosinius.de>

* 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