pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sean <sean712@gmail.com>
To: rod@iol.ie
Cc: pgsql-php@postgresql.org
Subject: Re: ERROR: relation "userroles" does not exist
Date: Fri, 10 Oct 2008 16:03:44 -0400
Message-ID: <d953ccea0810101303h10d47ee2y342a63b64bbe35be@mail.gmail.com> (raw)
In-Reply-To: <48EF9C24.40201@iol.ie>
References: <d953ccea0810101030r285012bdv9029c5763d6955cc@mail.gmail.com>
	<48EF9C24.40201@iol.ie>

That's it. thank you..  I created it using PgAdmin.

On Fri, Oct 10, 2008 at 2:17 PM, Raymond O'Donnell <rod@iol.ie> wrote:

> On 10/10/2008 18:30, Sean wrote:
> > *I keep receiving the following when trying to select from a table in my
> > database. the Tables are there i see them in pgAdmin...
> >
> > *Warning*: pg_query_params() [function.pg-query-params
> > <http://localhost:8888/HH/function.pg-query-params;]: Query failed:
> > ERROR: relation "userroles" does not exist
>
> Would you have defined the table using quoted upper-case? PG folds names
> to lower-case unless you double quote them, so:
>
> test=# create table test();
> CREATE TABLE
> test=# create table "Test"();
> CREATE TABLE
> test=# \dt
>        List of relations
>  Schema | Name | Type  |  Owner
> --------+------+-------+----------
>  public | Test | table | postgres
>  public | test | table | postgres
> (2 rows)
>
>
> Ray.
>
> ------------------------------------------------------------------
> Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
> rod@iol.ie
> Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
> ------------------------------------------------------------------
>

view thread (3+ messages)

Message-ID: <d953ccea0810101303h10d47ee2y342a63b64bbe35be@mail.gmail.com>
Permalink:  ../d953ccea0810101303h10d47ee2y342a63b64bbe35be@mail.gmail.com/
Also on:    postgresql.org/message-id/d953ccea0810101303h10d47ee2y342a63b64bbe35be@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: sean712@gmail.com, rod@iol.ie
  Subject: Re: ERROR: relation "userroles" does not exist
  In-Reply-To: <d953ccea0810101303h10d47ee2y342a63b64bbe35be@mail.gmail.com>
  References: <d953ccea0810101030r285012bdv9029c5763d6955cc@mail.gmail.com> <48EF9C24.40201@iol.ie> <d953ccea0810101303h10d47ee2y342a63b64bbe35be@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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