pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sean <sean712@gmail.com>
To: pgsql-php@postgresql.org
Subject: ERROR: relation "userroles" does not exist
Date: Fri, 10 Oct 2008 13:30:31 -0400
Message-ID: <d953ccea0810101030r285012bdv9029c5763d6955cc@mail.gmail.com> (raw)

*Hello All,

*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

The query I'm running is

SELECT userPassword, salt, roleName
            FROM User u,  UserRoles ur, Roles r
            where u.id = ur.user_id
            and r.id = ur.role_id
            and u.username = $1
            and u.active = true

view thread (3+ messages)  latest in thread

Message-ID: <d953ccea0810101030r285012bdv9029c5763d6955cc@mail.gmail.com>
Permalink:  ../d953ccea0810101030r285012bdv9029c5763d6955cc@mail.gmail.com/
Also on:    postgresql.org/message-id/d953ccea0810101030r285012bdv9029c5763d6955cc@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
  Subject: Re: ERROR: relation "userroles" does not exist
  In-Reply-To: <d953ccea0810101030r285012bdv9029c5763d6955cc@mail.gmail.com>
  References: <d953ccea0810101030r285012bdv9029c5763d6955cc@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