Re: [GENERAL] Problem in using C API - libpq

2008-02-11 Thread Shwe Yee Than
Could you please tell me how to do so? Thanks. Ben <[EMAIL PROTECTED]> wrote: Including the header is not enough you must also link your binary against the library. On Feb 11, 2008, at 9:52 PM, Shwe Yee Than wrote: Hello, I´ve got a problem when trying to access Postgresql thr

[GENERAL] Problem in using C API - libpq

2008-02-11 Thread Shwe Yee Than
Hello, I´ve got a problem when trying to access Postgresql through C language. I've included "libpq-fe.h" as a header file in the C program. When I compile it, I got the following errors: [EMAIL PROTECTED] src]$ gmake alpha1.o(.text+0x297c6):/home/srb/SRB3_4_2/mySRB/src/alpha1.c:12726: undef

[GENERAL] command to view the tables

2007-10-21 Thread Shwe Yee Than
Hi all, I'm new to postgresql. I'm running postgresql database on Linux platform. I just wanna know the command to view all the tables inside a specific database. Can anyone tell me? Thanks! ~Shwe~ __ Do You Yahoo!? Tired of spam? Ya