pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bronto <brontos@hotpop.com>
To: pgsql-odbc@postgresql.org
Subject: Re: Access97/odbcUnicode/pgsql : unable to map text field
Date: Fri, 9 Jun 2006 18:44:29 +0300
Message-ID: <20060609154433.76F5024FCD12@smtp-3.hotpop.com> (raw)
In-Reply-To: <20060609135030.GA18181@soptik.pzkagis.cz>

(Tested)Data type matching:
-----------------------------------------------
|	ACCESS		         |	    POSTGRESQL     |
-----------------------------------------------
|     Text			      |    Varchar(255)	    |
|     Memo			      |    Varchar(65535)   |
| Number: Integer		   |    Int 2		       |
|         Long Integer	|    Int 4		       |
|	    Single		      |    Float 4	       |
|	    Double		      |    Float 8          |
|	   Date/Time	      |    TimeStamp        |
| AutoNumber: Long	   | 	  Serial	          |
|	   Yes/No (Boolean)  |	  Int 2		       |
|	 OLE Object		      |	  ByteA		       |
-----------------------------------------------

ODBC Driver Settings:

--------
|Page 1|
--------

- Check "Disable generic optimizer"
- Check "KSQO..."
- Check "Recognize unique indexes"
- Set "Unknown sizes" to "Maximum"
- Check "Text as LongVarChar"
- Set "Max Varchar" to 255

--------
|Page 2|
--------

- Check "LF <-> CR/LF conversion"
- Check "bytea as LO"
- Check "True is -1"
- Set "Int8 As" to "double"

Make sure you use the ANSI driver

Hope it helps.


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.8.3/359 - Release Date: 08.06.2006
 

view thread (17+ messages)  latest in thread

Message-ID: <20060609154433.76F5024FCD12@smtp-3.hotpop.com>
Permalink:  ../20060609154433.76F5024FCD12@smtp-3.hotpop.com/
Also on:    postgresql.org/message-id/20060609154433.76F5024FCD12@smtp-3.hotpop.com

 · 

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-odbc@postgresql.org
  Cc: brontos@hotpop.com
  Subject: Re: Access97/odbcUnicode/pgsql : unable to map text field
  In-Reply-To: <20060609154433.76F5024FCD12@smtp-3.hotpop.com>
  References: <20060609135030.GA18181@soptik.pzkagis.cz> <20060609154433.76F5024FCD12@smtp-3.hotpop.com>

* 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