pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fabio Fioravanti <ff@ascoli.biz>
To: pgsql-php@postgresql.org
Subject: PEAR DB_DataObjects - PostgreSQL view error
Date: Wed, 17 Nov 2004 10:48:47 +0100 (CET)
Message-ID: <1971.195.223.183.238.1100684927.squirrel@195.223.183.238> (raw)

When I try to run createtables.php to create classes with:
 build_views = true
I get the following error msg

[db_error: message="DB Error: insufficient data supplied" code=-20
mode=return level=notice prefix="" info="SELECT viewname FROM pg_views
[nativecode=ERROR:  relation "view_column_usage" does not exist]"]

however select * from pg_views where viewname='view_column_usage'
does return a result.

I'm using PHP Version 4.3.2 + Apache/1.3.24 + PostgreSQL  8.0.0
beta-dev1 on windows XP sp2 (bleah)

Any hints?



Message-ID: <1971.195.223.183.238.1100684927.squirrel@195.223.183.238>
Permalink:  ../1971.195.223.183.238.1100684927.squirrel@195.223.183.238/
Also on:    postgresql.org/message-id/1971.195.223.183.238.1100684927.squirrel@195.223.183.238

 · 

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: ff@ascoli.biz
  Subject: Re: PEAR DB_DataObjects - PostgreSQL view error
  In-Reply-To: <1971.195.223.183.238.1100684927.squirrel@195.223.183.238>
  References: <1971.195.223.183.238.1100684927.squirrel@195.223.183.238>

* 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