Re: where's the reference to a view, here? - Mailing list pgsql-general

From Richard Huxton
Subject Re: where's the reference to a view, here?
Date
Msg-id 003c01c0faf5$8cf26040$1001a8c0@archonet.com
Whole thread Raw
In response to where's the reference to a view, here?  (will trillich <will@serensoft.com>)
Responses Re: where's the reference to a view, here?
List pgsql-general
From: "will trillich" <will@serensoft.com>

> inv=# update _invitem set descr=
> inv-# substring(descr from 1 for position('==' in
descr)-1)||'--'||substring(descr from position('==' in descr)+2)
> inv-# where descr like '%==%';
> ERROR:  system column oid not available - inv is a view

This query isn't in a function is it? I've seen all sorts of weirdness if I
drop & recreate tables/views that compiled functions depend on.

[snip]

> inv=# \d inv
>                  View "inv"
>  Attribute |         Type         | Modifier
> -----------+----------------------+----------
[snip]
>  amt       | numeric(65535,65531) |

Is this large a numeric deliberate, or has something got mangled here?

- Richard Huxton


pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Postgres is too slow?
Next
From: Alexey Borzov
Date:
Subject: Re: Does PostgreSQL support SET or ENUM data types?