[GENERAL] Query Problem

2008-07-06 Thread Sheikh Salman Ahmed
27;)"); if (PQresultStatus(res) != PGRES_COMMAND_OK) { printf("Problem with command: %s\n", PQerrorMessage(conn)); PQclear(res); PQfinish(conn); return 1; } PQclear(res); } PQfinish(conn); return 0; } It shows no relation between public and person,if i write only person ,it show

[GENERAL] Query Fails

2008-07-01 Thread Sheikh Salman Ahmed
, but connection to data it shows. i am using this code to insert data. res = PQexec (conn, "INSERT INTO public.Person values (121,'xxx','yyy')"); It will be grateful,if u ppl can help me. Sheikh Salman AhmedDiplomand in Nano Struktur TechnologieDuisburg-

[GENERAL] Query Fails

2008-07-01 Thread Sheikh Salman Ahmed
, but connection to data it shows. i am using this code to insert data. res = PQexec (conn, "INSERT INTO public.Person values (121,'xxx','yyy')"); It will be grateful,if u ppl can help me. Sheikh Salman AhmedDiplomand in Nano Struktur TechnologieDuisburg-

[GENERAL] Query Fails

2008-07-01 Thread Sheikh Salman Ahmed
, but connection to data it shows. i am using this code to insert data. res = PQexec (conn, "INSERT INTO public.Person values (121,'xxx','yyy')"); It will be grateful,if u ppl can help me. Sheikh Salman AhmedDiplomand in Nano Struktur TechnologieDuisburg-

[GENERAL] Query Fails

2008-07-01 Thread sheikh salman
Hallo Fellows   I am a new User of postgresql.I have installed it on window XP.I feel it little complicated on Window.I have already connected it with visual c++ 2005,but when i wanted to insert some data in my databank,then it fails and shows sytax error or  doesn't recognise my table, but co

[GENERAL] Query Fails

2008-07-01 Thread Sheikh Salman Ahmed
, but connection to data it shows. i am using this code to insert data. res = PQexec (conn, "INSERT INTO public.Person values (121,'xxx','yyy')"); It will be grateful,if u ppl can help me. Sheikh Salman AhmedDiplomand in Nano Struktur TechnologieDuisburg-

[GENERAL] Problem by adding libpq++

2008-06-24 Thread sheikh salman
  Hallo fellows i am new user of postgresql and need ur help to understand it.I am now using postgresql 3.0 with Microsoft Visual C++ 2005 express edition.But i can't connect MV C++ with postgresql.There is always library failure. Pls help me. I have installed all on window XP. salman ___