pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Questions about building psqlODBC on Linux/Windows
2+ messages / 2 participants
[nested] [flat]

* Questions about building psqlODBC on Linux/Windows
@ 2013-04-14 13:41 MauMau <maumau307@gmail.com>
  2013-04-16 03:28 ` Re: Questions about building psqlODBC on Linux/Windows Inoue, Hiroshi <inoue@tpf.co.jp>
  0 siblings, 1 reply; 2+ messages in thread

From: MauMau @ 2013-04-14 13:41 UTC (permalink / raw)
  To: pgsql-odbc

Hello,

Please let me ask a few questions about building psqlODBC on Linux and 
Windows.

Q1: What differences in functionality are there between the driver with 
libpq and the one without libpq?  Which has richer functionality?

Q2: Do I have to specify PG_INC and PG_LIB to build the ODBC driver on 
Windows with nmake even when LIBPQ=no?

Q3: When should I use the ANSI driver?  I'm not very sure even after reading 
the FAQ.  Is the following understanding correct?

Unicode driver must always be used when the database encoding is UTF-8.
ANSI driver must always be used when the database encoding is not UTF-8.
Violation of above rules results in strange behavior when the character code 
is greater than 128.

Regards
MauMau



-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Questions about building psqlODBC on Linux/Windows
  2013-04-14 13:41 Questions about building psqlODBC on Linux/Windows MauMau <maumau307@gmail.com>
@ 2013-04-16 03:28 ` Inoue, Hiroshi <inoue@tpf.co.jp>
  0 siblings, 0 replies; 2+ messages in thread

From: Inoue, Hiroshi @ 2013-04-16 03:28 UTC (permalink / raw)
  To: MauMau <maumau307@gmail.com>; +Cc: pgsql-odbc

(2013/04/14 22:41), MauMau wrote:
> Hello,
> 
> Please let me ask a few questions about building psqlODBC on Linux and 
> Windows.
> 
> Q1: What differences in functionality are there between the driver with 
> libpq and the one without libpq?  Which has richer functionality?

Please build the driver with libpq when you can provide it.

> Q2: Do I have to specify PG_INC and PG_LIB to build the ODBC driver on 
> Windows with nmake even when LIBPQ=no?

Please specify LIBPQ=yes basically. I added LIBPQ=no option when
 64bit libpq was not provided yet.

> Q3: When should I use the ANSI driver?  I'm not very sure even after 
> reading the FAQ.  Is the following understanding correct?

Unfortunately I don't know it.
Unicode drivers should work in theory but some applications/middlewares
prefer ANSI drivers.

regards,
Hiroshi Inoue




-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2013-04-16 03:28 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-04-14 13:41 Questions about building psqlODBC on Linux/Windows MauMau <maumau307@gmail.com>
2013-04-16 03:28 ` Inoue, Hiroshi <inoue@tpf.co.jp>

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