pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paul Lisewski <paull@techone.com.au>
To: 'Byron Nikolaidis' <byronn@insightdist.com>
To: Paul Lisewski <paull@techone.com.au>
To: pgsql-interfaces <pgsql-interfaces@postgreSQL.org>
Subject: RE: ODBC driver (SQLGetTypeInfo)
Date: Mon, 20 Apr 1998 12:06:06 +1000
Message-ID: <5ABEF3A77B39D111970F0020AFA04D29AE26@mailbox.techone.com.au> (raw)

Terrific,
	Just what I was after.

Thanks very much.

Regards,

Paul Lisewski,
(paull@techone.com.au)

> -----Original Message-----
> From:	Byron Nikolaidis [SMTP:byronn@insightdist.com]
> Sent:	18 April 1998 6:33
> To:	Paul Lisewski; pgsql-interfaces
> Subject:	Re: ODBC driver (SQLGetTypeInfo)
> 
> Paul,
> 
> I changed the driver to handle this a little better.
> 
> - text was already SQL_LONGVARCHAR.
> - name is now SQL_CHAR (fixed at 32) - it should have been this all
> along
> - varchar and bpchar both return SQL_VARCHAR, BUT varchar now comes
> first,
> since it is most correct anyway, I think that makes sense.
> 
> Hope this helps.
> 
> The latest stuff is at our web site.
> 
> Byron
> 
> 
> Paul Lisewski wrote:
> 
> > When getting a list of DataTypes via SQLGetInfo, there are 4
> SQL_VARCHAR
> > types.
> > They are:
> > bpchar, varchar, text and name.
> >
> > I have a utility to interogate a database and create tables using
> the
> > syntax from SQLGetInfo. I pick the first match from the list (in
> this
> > case bpchar). Could the Types be modified to SQL_LONGVARCHAR for the
> non
> > varchar datatypes or at least resequenced so that varchar comes
> before
> > bpchar
> >
> > Various version of PostODBC used to have this problem, then it was
> > changed so that bpchar reported SQL_LONGVARCHAR.
> >
> 
> 



view thread (2+ messages)

Message-ID: <5ABEF3A77B39D111970F0020AFA04D29AE26@mailbox.techone.com.au>
Permalink:  ../5ABEF3A77B39D111970F0020AFA04D29AE26@mailbox.techone.com.au/
Also on:    postgresql.org/message-id/5ABEF3A77B39D111970F0020AFA04D29AE26@mailbox.techone.com.au

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-interfaces@postgresql.org
  Cc: paull@techone.com.au, byronn@insightdist.com
  Subject: Re: ODBC driver (SQLGetTypeInfo)
  In-Reply-To: <5ABEF3A77B39D111970F0020AFA04D29AE26@mailbox.techone.com.au>
  References: <5ABEF3A77B39D111970F0020AFA04D29AE26@mailbox.techone.com.au>

* 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