Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WkwB8-00077f-9g for pgsql-odbc@arkaria.postgresql.org; Thu, 15 May 2014 13:58:34 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WkwB7-0003xG-LG for pgsql-odbc@arkaria.postgresql.org; Thu, 15 May 2014 13:58:33 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WkwB4-0003sg-SU for pgsql-odbc@postgresql.org; Thu, 15 May 2014 13:58:31 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WkwB1-0000Gj-7M for pgsql-odbc@postgresql.org; Thu, 15 May 2014 13:58:30 +0000 Received: from compute6.internal (compute6.nyi.mail.srv.osa [10.202.2.46]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id F209720FEB for ; Thu, 15 May 2014 09:58:25 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Thu, 15 May 2014 09:58:25 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=aklaver.com; h= message-id:date:from:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; s=mesmtp; bh=SVIHuayD+o5EV4khF0EF871aaoY=; b=KQE7cxMhVvrA/y0jnBagLTUHfQ8K qN2OSVbpDKwF/1EVT35+Xi35uP050q1I7o51C/m+1RRf5wvWvl9itvDhDV1RcEJ9 B1yHRWMn8KO6aDJXMIyfOb5fa/NCzaiZOFU8TcOrBQPyJnXy70+zU2R7B1dZBW4O UMQn4vbbUf8zRqo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=SVIHuayD+o5EV4khF0EF87 1aaoY=; b=DFns6TKJLt8j3y5Z53eg94wu3/C1RPtJmzPVRLsaOuGRaDz4qjgx/n bq5x462Gr/He2RaKA4hugv/Q6dwagK4oA1/jaN1E54ojRp74qwh1E6Rh7Qo4WKif 7iS4pUnVuL1SBmGVvhENr4DvZ4J9CCqw0HQi8a72Xa0zDqg+txpfc= X-Sasl-enc: 4gyxAfYd+iW2IuqZqBGeMFXhhvYy8EOfGR3y4pMdDBgu 1400162305 Received: from panda.site (unknown [65.102.186.57]) by mail.messagingengine.com (Postfix) with ESMTPA id 199C1C0000C; Thu, 15 May 2014 09:58:25 -0400 (EDT) Message-ID: <5374C800.3000405@aklaver.com> Date: Thu, 15 May 2014 06:58:24 -0700 From: Adrian Klaver User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Dev Kumkar , "pgsql-odbc@postgresql.org" , Hiroshi Inoue , Josh Berkus , John Pierce Subject: Re: Compiling ODBC Applications References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -2.7 (--) 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 On 05/14/2014 10:25 PM, Dev Kumkar wrote: > Hello, > > Can you please provide help on following questions related to compiling > ODBC applications on Linux RHEL 5: > > 1. Which ODBC driver should be downloaded for Linux 64 bit (and also Win > 64 bit) for postgres (9.3.4)? > > 2. Which ODBC developer package should be present when building ODBC > applications against postgres ODBC driver? (Shouldn't everything in ODBC > header files match with what is in postgres driver .so files?) > > 3. Is there a postgres specific ODBC developer package (like, say, > ‘unixODBC-devel’ rpm you get on Linux)? > > 4. Is '(int)-1' being returned instead of '(SQLLEN)-1' from SQLGetData > for NULL values? If yes then is this by design? On linux 64 bit, > observed SQLLEN is not int. > > Regards... A lot of this is answered here: http://psqlodbc.projects.pgfoundry.org/ -- Adrian Klaver adrian.klaver@aklaver.com -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc