From: | "Chris Haas" <haasjc(at)hotmail(dot)com> |
---|---|
To: | pgsql-interfaces(at)postgresql(dot)org |
Subject: | Re: upgrade pgaccess v0.96 to v0.98 fatal error: attribute querytables not found |
Date: | 2000-09-22 20:00:49 |
Message-ID: | LAW2-F130Xd4Fm5Oeg300001b83@hotmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
Hi,
I did add the missing fields to table pga_queries (not pgq-queries!).
Starting pgacees as postgres superuser resulted in the same error. But I
haven't tried to delete the table mentioned above.
Big Thank's to Teo - Chris
>From: Constantin Teodorescu <teo(at)flex(dot)ro>
>To: Chris Haas <haasjc(at)hotmail(dot)com>
>Subject: Re: [INTERFACES] upgrade pgaccess v0.96 to v0.98 fatal error:
>attribute querytables not found
>Date: Fri, 22 Sep 2000 08:24:08 +0300
>
>Chris Haas wrote:
> >
> > Hi,
> > the error appears when I try to open the database with pgaccess v0.98
> > (after clicking on the 'open' button of the form for
>db-name,-username...).
> >
> > window with error-message like: 'fatal error upgrading pgaccess table
> > pga_queries:error: attribute 'querytables' not found' status
> > pgres_fatal_error
> > after pressing 'ok' the window closes and the db is not accessed
>'(pgaccess
> > is still running).
> >
> > Left everything unchanged except the change of pgaccess-packages the
>same
> > database can be accessed via pgaccess v0.96!
>
>Ok. I got the error.
>
>In earlier versions of PgAccess pqq_queries table didn't have the
>querytables field!
>When 0.98 tries to add that field it seems that you don't have ALTER
>TABLE rights to that database and table.
>Try running PgAccess once for that database as postgres user (the master
>user of the database).
>Other sollution: if you don't have important queries in pgq_queries (in
>Query tab in PgAccess) delete the pgq_queries tables (drop table ...)
>with psql.
>Other sollution is to add manually (with psql) the following fields to
>your old pgq_queries table:
>querytables text, querylinks text, queryresults text, querycomments text
>
>Tell me which one works for you (the best is to open PgAccess as
>postgres user).
>
>Best regards,
>Teo
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
From | Date | Subject | |
---|---|---|---|
Next Message | Andreas Vogler | 2000-09-24 13:28:45 | JDBC and LO - invalid large object descriptor |
Previous Message | Tom Lane | 2000-09-22 16:31:57 | Re: cursor interface to libpq |