Re: where's the reference to a view, here?

From: "Richard Huxton" <dev(at)archonet(dot)com>
To: "will trillich" <will(at)serensoft(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: where's the reference to a view, here?
Date: 2001-06-22 08:30:05
Message-ID: 003c01c0faf5$8cf26040$1001a8c0@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

From: "will trillich" <will(at)serensoft(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vince Vielhaber 2001-06-22 09:41:31 Re: insightful article
Previous Message Alexey Borzov 2001-06-22 08:29:51 Re: Does PostgreSQL support SET or ENUM data types?