pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedRe: pgaccess: I can't save a view
3+ messages / 2 participants
[nested] [flat]
* Re: pgaccess: I can't save a view
@ 1998-03-13 17:33 sferac@bo.nettuno.it
0 siblings, 2 replies; 3+ messages in thread
From: sferac@bo.nettuno.it @ 1998-03-13 17:33 UTC (permalink / raw)
To: pgsql-interfaces
Hi,
There's an error generated by parser when I try to save a view as:
SELECT * FROM table_name WHERE column_name = 'VALUE'
If I push <Save query definition> button I have this error message:
-----------------------------------------------
error defining view
ERROR: parser: parse error at or near 'VALUE'
-----------------------------------------------
If I push <Execute query> button it works, but I can't save it as a view
... it saves views with only if is not present the WHERE clause, like this:
SELECT comlumn_1 FROM table_name
Ciao, Jose'
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: [INTERFACES] Re: pgaccess: I can't save a view
@ 1998-03-13 19:27 Constantin Teodorescu <teo@flex.ro>
parent: sferac@bo.nettuno.it
1 sibling, 0 replies; 3+ messages in thread
From: Constantin Teodorescu @ 1998-03-13 19:27 UTC (permalink / raw)
To: sferac@bo.nettuno.it; +Cc: pgsql-interfaces
sferac@bo.nettuno.it wrote:
>
> Hi,
> There's an error generated by parser when I try to save a view as:
>
> SELECT * FROM table_name WHERE column_name = 'VALUE'
>
> If I push <Save query definition> button I have this error message:
Hmmmmm.... strange
Send me a pg_dump on that table.
PostgreSQL version ? Tcl/Tk version ? PgAccess version ?
--
Constantin Teodorescu
FLEX Consulting Braila, ROMANIA
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: [INTERFACES] pgaccess: I can't save a view
@ 1998-03-14 12:23 Constantin Teodorescu <teo@flex.ro>
parent: sferac@bo.nettuno.it
1 sibling, 0 replies; 3+ messages in thread
From: Constantin Teodorescu @ 1998-03-14 12:23 UTC (permalink / raw)
To: sferac@bo.nettuno.it; +Cc: pgsql-interfaces
sferac@bo.nettuno.it wrote:
>
> There's an error generated by parser when I try to save a view as:
>
> SELECT * FROM table_name WHERE column_name = 'VALUE'
>
> If I push <Save query definition> button I have this error message:
>
> -----------------------------------------------
> error defining view
> ERROR: parser: parse error at or near 'VALUE'
> -----------------------------------------------
It is true.
A simple bug that has not been detected since now.
A new version that fixed that bug is available
http://www.flex.ro/pgaccess/pgaccess-0.84.tar.gz
ftp://ftp.flex.ro/pgaccess/pgaccess-0.84.tar.gz
In this distribution is also present a dumped database for demo called
formdemo.sql.
Create your own demo database :
$ createdb mydemo
$ psql -e mydemo <formdemo.sql
There is a query of that form that can be saved as a view, now.
Remember, since the view is a PostgreSQL object, it's name *MUST* have
no spaces inside.
Jose, thanks for your help,
--
Constantin Teodorescu
FLEX Consulting Braila, ROMANIA
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~1998-03-14 12:23 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1998-03-13 17:33 Re: pgaccess: I can't save a view sferac@bo.nettuno.it
1998-03-13 19:27 ` Constantin Teodorescu <teo@flex.ro>
1998-03-14 12:23 ` Constantin Teodorescu <teo@flex.ro>
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