Re: pgaccess: I can't save a view

Поиск
Список
Период
Сортировка
Искать

Re: pgaccess: I can't save a view

От:
sferac@bo.nettuno.it
Дата:
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  button I have this error message:

           -----------------------------------------------
                        error defining view
             ERROR: parser: parse error at or near 'VALUE'
           -----------------------------------------------
If I push  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'


Re: [INTERFACES] Re: pgaccess: I can't save a view

От:
Constantin Teodorescu <teo@flex.ro>
Дата:
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  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

Re: [INTERFACES] pgaccess: I can't save a view

От:
Constantin Teodorescu <teo@flex.ro>
Дата:
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  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 
FAQ