pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
postgres and c
7+ messages / 6 participants
[nested] [flat]

* postgres and c
@ 2007-05-01 11:25  Maphin Philip <maphin.philip@nestgroup.net>
  0 siblings, 2 replies; 7+ messages in thread

From: Maphin Philip @ 2007-05-01 11:25 UTC (permalink / raw)
  To: pgsql-interfaces

How can we use c programs to manipulate data in postgres database?

 

 

 

Thanks

 

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

* Re: postgres and c
@ 2007-05-01 12:19  Reid Thompson <Reid.Thompson@ateb.com>
  parent: Maphin Philip <maphin.philip@nestgroup.net>
  1 sibling, 1 reply; 7+ messages in thread

From: Reid Thompson @ 2007-05-01 12:19 UTC (permalink / raw)
  To: Maphin Philip <maphin.philip@nestgroup.net>; +Cc: pgsql-interfaces

On Tue, 2007-05-01 at 16:55 +0530, Maphin Philip wrote:
> How can we use c programs to manipulate data in postgres database?
> 
>  
> 
>  
> 
>  
> 
> Thanks
> 
>  
> 
> http://www.postgresql.org/docs/8.2/static/libpq.html

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

* Re: postgres and c
@ 2007-05-01 12:20  Zahid Khan <khanzahid235@yahoo.com>
  parent: Maphin Philip <maphin.philip@nestgroup.net>
  1 sibling, 0 replies; 7+ messages in thread

From: Zahid Khan @ 2007-05-01 12:20 UTC (permalink / raw)
  To: Maphin Philip <maphin.philip@nestgroup.net>; pgsql-interfaces




You can use LIBPQ for that.

http://www.postgresql.org/docs/8.2/static/libpq.html

Thanks,
Zahid K.

--- Maphin Philip <maphin.philip@nestgroup.net> wrote:

> How can we use c programs to manipulate data in
> postgres database?
> 
>  
> 
>  
> 
>  
> 
> Thanks
> 
>  
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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

* Re: postgres and c
@ 2007-05-01 15:49  Michael Meskes <meskes@postgresql.org>
  parent: Reid Thompson <Reid.Thompson@ateb.com>
  0 siblings, 1 reply; 7+ messages in thread

From: Michael Meskes @ 2007-05-01 15:49 UTC (permalink / raw)
  To: Reid Thompson <Reid.Thompson@ateb.com>; +Cc: Maphin Philip <maphin.philip@nestgroup.net>; pgsql-interfaces

On Tue, May 01, 2007 at 08:19:51AM -0400, Reid Thompson wrote:
> > http://www.postgresql.org/docs/8.2/static/libpq.html

And of course also ecpg:

http://www.postgresql.org/docs/8.2/static/ecpg.html

Michael
-- 
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!



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

* Re: postgres and c
@ 2007-05-01 16:01  Reid Thompson <Reid.Thompson@ateb.com>
  parent: Michael Meskes <meskes@postgresql.org>
  0 siblings, 1 reply; 7+ messages in thread

From: Reid Thompson @ 2007-05-01 16:01 UTC (permalink / raw)
  To: Michael Meskes <meskes@postgresql.org>; +Cc: Maphin Philip <maphin.philip@nestgroup.net>; pgsql-interfaces

On Tue, 2007-05-01 at 17:49 +0200, Michael Meskes wrote:
> On Tue, May 01, 2007 at 08:19:51AM -0400, Reid Thompson wrote:
> > > http://www.postgresql.org/docs/8.2/static/libpq.html
> 
> And of course also ecpg:
> 
> http://www.postgresql.org/docs/8.2/static/ecpg.html
> 
> Michael
yep -- i've had very good results using ecpg.



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

* Re: postgres and c
@ 2007-05-01 23:01  Ken Jennings <ken_jennings@bellsouth.net>
  parent: Reid Thompson <Reid.Thompson@ateb.com>
  0 siblings, 1 reply; 7+ messages in thread

From: Ken Jennings @ 2007-05-01 23:01 UTC (permalink / raw)
  To: pgsql-interfaces

On Tuesday 2007-05-01 12:01, Reid Thompson wrote:
> On Tue, 2007-05-01 at 17:49 +0200, Michael Meskes wrote:
> > On Tue, May 01, 2007 at 08:19:51AM -0400, Reid Thompson wrote:
> > > > http://www.postgresql.org/docs/8.2/static/libpq.html
> >
> > And of course also ecpg:
> >
> > http://www.postgresql.org/docs/8.2/static/ecpg.html

> yep -- i've had very good results using ecpg.

Go to http://en.wikipedia.org/wiki/Postgresql

The last entry points to a simple example program for Embedded/SQL: 
"Test_PGC, Example embedded SQL/C program for PostgreSQL showing database 
operations and SQLSTATE testing."



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

* Re: postgres and c
@ 2007-05-02 02:53  Reid Thompson <reid.thompson@ateb.com>
  parent: Ken Jennings <ken_jennings@bellsouth.net>
  0 siblings, 0 replies; 7+ messages in thread

From: Reid Thompson @ 2007-05-02 02:53 UTC (permalink / raw)
  To: Ken Jennings <ken_jennings@bellsouth.net>; +Cc: pgsql-interfaces

Ken Jennings wrote:
> On Tuesday 2007-05-01 12:01, Reid Thompson wrote:
>   
>> On Tue, 2007-05-01 at 17:49 +0200, Michael Meskes wrote:
>>     
>>> On Tue, May 01, 2007 at 08:19:51AM -0400, Reid Thompson wrote:
>>>       
>>>>> http://www.postgresql.org/docs/8.2/static/libpq.html
>>>>>           
>>> And of course also ecpg:
>>>
>>> http://www.postgresql.org/docs/8.2/static/ecpg.html
>>>       
>
>   
>> yep -- i've had very good results using ecpg.
>>     
>
> Go to http://en.wikipedia.org/wiki/Postgresql
>
> The last entry points to a simple example program for Embedded/SQL: 
> "Test_PGC, Example embedded SQL/C program for PostgreSQL showing database 
> operations and SQLSTATE testing."
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
>                http://archives.postgresql.org
>   
also see
http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/

and
http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/



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


end of thread, other threads:[~2007-05-02 02:53 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-05-01 11:25 postgres and c Maphin Philip <maphin.philip@nestgroup.net>
2007-05-01 12:19 ` Reid Thompson <Reid.Thompson@ateb.com>
2007-05-01 15:49   ` Michael Meskes <meskes@postgresql.org>
2007-05-01 16:01     ` Reid Thompson <Reid.Thompson@ateb.com>
2007-05-01 23:01       ` Ken Jennings <ken_jennings@bellsouth.net>
2007-05-02 02:53         ` Reid Thompson <reid.thompson@ateb.com>
2007-05-01 12:20 ` Zahid Khan <khanzahid235@yahoo.com>

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