On Sun, Jul 6, 2008 at 12:04 AM, Sheikh Salman Ahmed <salman_sheikh@xxxxxxxxxxx> wrote: > res = PQexec(conn, "INSERT INTO public.Person VALUES Without quotes around Person, it will be shifted to lower case to match a table called person. I suspect you need to do: res = PQexec(conn, "INSERT INTO public.\"Person\" VALUES It's almost always easier to use lower case names in Postgres. -- Dave Page EnterpriseDB UK: http://www.enterprisedb.com