pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: m.malicky@landesmuseum-linz.ac.at
To: pgsql-admin@postgresql.org
Subject: Re: Postgres Problem
Date: Mon, 21 Aug 2000 07:54:25 +0200
Message-ID: <200008210555.HAA01404@mail.nextra.at> (raw)
In-Reply-To: <399DAA8D.C0385C7D@cdxc.com>

On 18 Aug 00, at 16:28, Nataraj wrote:

> Hi,
> 
> I am using postgres 7.0.2 in a web application with Perl and CGI. I had
> created a database for the web application. I had to modify the database
> by adding few new tables. I created the new tables using the "create
> table" command. When I query the database for the data in the new tables
> from the web application, it does not return any values. I also checked
> the webserver logs. There were no error messages. But when I querry the
> database using "psql" it returns data for the new tables as well as the
> old tables. I double-checked my sql querries in my CGI application , and
> there was nothing wrong, because if I copy and paste the SQL statements
> to psql they all work and return data on the psql command line, but they
> don't return data for new tables in the CGI application. I re-started
> the postgres database server, re-started apache webserver. It still does
> not recognize the new tables in the web application. Am I missing some
> thing? 

hmm, this looks like a permission problem to me, try and check 
wether the permissions on the old tables match that of the new 
ones.

regards

mike

DI Michael Malicky
System Administrator ZOBODAT
Biologiezentrum des OOE Landesmuseums
Johann Wilhelm Klein Str. 73
A-4040 Linz
Oesterreich
Tel.: +43/732/759733/33
Fax.: +43/732/759733/99



view thread (2+ messages)

Message-ID: <200008210555.HAA01404@mail.nextra.at>
Permalink:  ../200008210555.HAA01404@mail.nextra.at/
Also on:    postgresql.org/message-id/200008210555.HAA01404@mail.nextra.at

 · 

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-admin@postgresql.org
  Cc: m.malicky@landesmuseum-linz.ac.at
  Subject: Re: Postgres Problem
  In-Reply-To: <200008210555.HAA01404@mail.nextra.at>
  References: <399DAA8D.C0385C7D@cdxc.com> <200008210555.HAA01404@mail.nextra.at>

* 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