Re: php cant see new table!!

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: "Sears, Jeremy" <Jeremy(dot)Sears(at)CCRS(dot)NRCan(dot)gc(dot)ca>
Cc: "'pgsql-novice(at)postgresql(dot)org'" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: php cant see new table!!
Date: 2006-02-18 04:39:42
Message-ID: 20060218043942.GA69409@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Fri, Feb 17, 2006 at 10:55:10AM -0500, Sears, Jeremy wrote:
> I have sucessfully created a new table in a schema known as "st". I can view
> the contents of my database and see that this table exists. However when I
> attempt to connect to it via php, I get the following error:
>
> Warning: pg_query(): Query failed: ERROR: relation "st.iam" does not exist

Is the table name st.iam or st."IAM"? If you don't understand the
difference then see the section about quoted identifiers in the
documentation:

http://www.postgresql.org/docs/8.1/interactive/sql-syntax.html#SQL-SYNTAX-IDENTIFIERS

--
Michael Fuhr

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Andreas Seltenreich 2006-02-18 11:01:13 Re: Ident authentication failed without su to user
Previous Message David Gaudine 2006-02-17 21:42:46 Re: Cloning databases using rsync