X-Original-To: pgsql-odbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 1FED69FA1A8 for ; Fri, 9 Jun 2006 13:22:19 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 55639-10 for ; Fri, 9 Jun 2006 13:22:14 -0300 (ADT) X-Greylist: delayed 00:37:28.446346 by SQLgrey- Received: from smtp-out.hotpop.com (smtp-out.hotpop.com [38.113.3.71]) by postgresql.org (Postfix) with ESMTP id B24899FA5DD for ; Fri, 9 Jun 2006 13:22:12 -0300 (ADT) Received: from hotpop.com (kubrick.hotpop.com [38.113.3.105]) by smtp-out.hotpop.com (Postfix) with SMTP id 3FA7C24FCD31 for ; Fri, 9 Jun 2006 15:44:40 +0000 (UTC) Received: from athlon (unknown [85.204.134.81]) by smtp-3.hotpop.com (Postfix) with ESMTP id 76F5024FCD12 for ; Fri, 9 Jun 2006 15:44:32 +0000 (UTC) From: "Bronto" To: Subject: Re: Access97/odbcUnicode/pgsql : unable to map text field Date: Fri, 9 Jun 2006 18:44:29 +0300 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00B7_01C68BF4.C29D5610" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcaLy24xg49/LL0RR+eU0PElz0cXVQADmibw In-Reply-To: <20060609135030.GA18181@soptik.pzkagis.cz> Message-Id: <20060609154433.76F5024FCD12@smtp-3.hotpop.com> X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.868 tagged_above=0 required=5 tests=BAYES_00, DNS_FROM_RFC_ABUSE, DNS_FROM_RFC_POST, HTML_MESSAGE, RCVD_IN_BL_SPAMCOP_NET X-Spam-Level: X-Archive-Number: 200606/58 X-Sequence-Number: 7806 This is a multi-part message in MIME format. ------=_NextPart_000_00B7_01C68BF4.C29D5610 Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: 7bit (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 ------=_NextPart_000_00B7_01C68BF4.C29D5610 Content-Type: text/html; charset="windows-1250" Content-Transfer-Encoding: quoted-printable RE: [ODBC] Access97/odbcUnicode/pgsql : unable to map text = field

(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
 

------=_NextPart_000_00B7_01C68BF4.C29D5610--