Thread: Object oriented features - MISSING

Object oriented features - MISSING

From
Felipe Alvarez Harnecker
Date:
Hi, Postgresistas

I'm running 7.0.2 in a Debian system, and a have this problem:


SELECT * FROM some_base_table*

works fine, but

UPDATE some_base_table* SET a = b WHERE some_condition

and

DELETE FROM some_base_table* WHERE some_condition

dosen't even parse: the parser says parser: error at or near "*"


The question is Is this a bug in Postgres? or just my instalation?

Thanks.

PS. I really like the Object oriented features ( at leas as describe
in the docs ). It's a bad thing tha those dosen't work

Regards.



--
______________________________________________________

Felipe Alvarez Harnecker.  QlSoftware.

Tel. 09.874.60.17  e-mail: felipe.alvarez@qlsoft.cl

Potenciado por Ql/Linux  http://www.qlsoft.cl/
______________________________________________________

Re: Object oriented features - MISSING

From
Chris Bitmead
Date:
Hi,

This has been broken in postgres for many years. But I have fixed it
recently in current CVS. So you'll either have to wait for the next
release or else risk a development version. Another option is to go
to patches archive and manually apply the patch to 7.0.2 which wouldn't
be that hard.

Chris Bitmead.


Felipe Alvarez Harnecker wrote:
>
> Hi, Postgresistas
>
> I'm running 7.0.2 in a Debian system, and a have this problem:
>
> SELECT * FROM some_base_table*
>
> works fine, but
>
> UPDATE some_base_table* SET a = b WHERE some_condition
>
> and
>
> DELETE FROM some_base_table* WHERE some_condition
>
> dosen't even parse: the parser says parser: error at or near "*"
>
> The question is Is this a bug in Postgres? or just my instalation?
>
> Thanks.
>
> PS. I really like the Object oriented features ( at leas as describe
> in the docs ). It's a bad thing tha those dosen't work
>
> Regards.
>
> --
> ______________________________________________________
>
> Felipe Alvarez Harnecker.  QlSoftware.
>
> Tel. 09.874.60.17  e-mail: felipe.alvarez@qlsoft.cl
>
> Potenciado por Ql/Linux  http://www.qlsoft.cl/
> ______________________________________________________