pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Atri Sharma <atri.jiit@gmail.com>
To: Dev Kumkar <devdas.kumkar@gmail.com>
Cc: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: ODBC constructs
Date: Tue, 21 May 2013 09:42:06 +0530
Message-ID: <AD6CD285-763A-46AB-9825-31BF208AAFA4@gmail.com> (raw)
In-Reply-To: <CALSLE1NfessvrQvwGCy_LBaz4pkaeLAJOwFqmYPgH-cF5wOzRw@mail.gmail.com>
References: <CALSLE1MARsmPHrRi2jtYDrZz80JQnx8kMjaAh5UGHMNUcoMh3g@mail.gmail.com>
	<CALSLE1N=E5XmNHn6AS=7OXMGmC379+vvuBH1Vv5Sin4fPJog+A@mail.gmail.com>
	<CALSLE1NfessvrQvwGCy_LBaz4pkaeLAJOwFqmYPgH-cF5wOzRw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>



Sent from my iPad

On 21-May-2013, at 6:15, Dev Kumkar <devdas.kumkar@gmail.com> wrote:

> Hello,
> 
> My objective is to work with postgres from my linux box using C. Am not sure whether psqlODBC or libpq should be used.
> I was playing and used libpq successfully but not sure which route to go and whats the difference.
> 
> Also Can you please let me know any mapping document which maps ODBC constructs between sybase and postgres.
> 
> Also list of ODBC constructs to be used with postgres.
> 
> Thanks in advance!
> 
> Regards...
> 
> p.s. Am not sure if the earlier email was sent..sorry for spam in case it was.
> 
> 
> On Mon, May 20, 2013 at 5:37 PM, Dev Kumkar <devdas.kumkar@gmail.com> wrote:
>> Hello,
>> 
>> My objective is to work with postgres from my linux box using C. Am not sure whether psqlODBC or libpq should be used.
>> I was playing and used libpq successfully but not sure which route to go and whats the difference.
>> 
>> Also Can you please let me know any mapping document which maps ODBC constructs between sybase and postgres.
>> 
>> Also list of ODBC constructs to be used with postgres.
>> 
>> 

If you are looking for a client to work with with your Postgres database,then you can use psql(for command line),or use PGAdmin (http://www.pgadmin.org/).

If you are looking to connect data from your Sybase database to a Postgres database,you can have a look at the various
Foreign data wrappers Postgres has.

If you wish to work in C,then,I would suggest libpq.I would wait for more replies on this,as I have little knowledge
about psqlODBC.

Regards,

Atri

view thread (47+ messages)  latest in thread

Message-ID: <AD6CD285-763A-46AB-9825-31BF208AAFA4@gmail.com>
Permalink:  ../AD6CD285-763A-46AB-9825-31BF208AAFA4@gmail.com/
Also on:    postgresql.org/message-id/AD6CD285-763A-46AB-9825-31BF208AAFA4@gmail.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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: atri.jiit@gmail.com, devdas.kumkar@gmail.com, pgsql-odbc@postgresql.org, pgsql-general@postgresql.org
  Subject: Re: ODBC constructs
  In-Reply-To: <AD6CD285-763A-46AB-9825-31BF208AAFA4@gmail.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