Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1URNAl-0007Jm-KL for pgsql-odbc@arkaria.postgresql.org; Sun, 14 Apr 2013 13:40:47 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1URNAk-0006Zp-DU for pgsql-odbc@arkaria.postgresql.org; Sun, 14 Apr 2013 13:40:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1URNAi-0006Zh-I5 for pgsql-odbc@postgresql.org; Sun, 14 Apr 2013 13:40:44 +0000 Received: from mail-pd0-f170.google.com ([209.85.192.170]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1URNAf-0006GZ-Nd for pgsql-odbc@postgresql.org; Sun, 14 Apr 2013 13:40:43 +0000 Received: by mail-pd0-f170.google.com with SMTP id 10so2077483pdi.29 for ; Sun, 14 Apr 2013 06:40:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:from:to:subject:date:mime-version :content-type:content-transfer-encoding:x-priority:x-msmail-priority :x-mailer:x-mimeole; bh=o/tCmLoWrzXj9VNBfrs+Ru39st5dIA4rzKWP7lP2PWQ=; b=kuxmsQXBQLDq92k8wDuFt3oJGwAScYgx6uCIZpeYZCdMPWHjFS6vkJmlOtBc4aCYmf xr/AyGy2DkdYJ56ALV3J1MdOa6CU/JCV05vNuaNbuf4bVkA2/z61vMEzo1a0p8DA30So Ub85kTaguaj13pU/lAY8SvURWjntqOyqjGoW1EmRVojQt4BpM4MQog3+SHQTsL4PH1x1 S2aMkM61U0WdAZaM3No+/6mGXRlO/SJ5VFTPVGuhAWaycv4TVj+5wYSz9uJII1DhZVV3 MDjgusfndFG2uDoTs6YleeqELG7Ub/6rvaaU+ySOtj4nIqVCfSrWbiMID2UzBB5xu9qy Lhnw== X-Received: by 10.68.98.165 with SMTP id ej5mr12965392pbb.184.1365946839780; Sun, 14 Apr 2013 06:40:39 -0700 (PDT) Received: from maumau (p1041-ipbfp1101sizuokaden.shizuoka.ocn.ne.jp. [114.157.164.41]) by mx.google.com with ESMTPS id dr4sm16395315pbb.19.2013.04.14.06.40.37 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 14 Apr 2013 06:40:38 -0700 (PDT) Message-ID: <100BDAFF99484416ADE474979B77E952@maumau> From: "MauMau" To: Subject: Questions about building psqlODBC on Linux/Windows Date: Sun, 14 Apr 2013 22:41:04 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-2022-jp"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Windows Mail 6.0.6002.18197 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18463 X-Pg-Spam-Score: 2.3 (++) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org 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