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

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: where's the reference to a view, here?
Дата
Msg-id 003c01c0faf5$8cf26040$1001a8c0@archonet.com
обсуждение исходный текст
Ответ на where's the reference to a view, here?  (will trillich <will@serensoft.com>)
Ответы Re: where's the reference to a view, here?
Список 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 по дате отправления:

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Postgres is too slow?
Следующее
От: Alexey Borzov
Дата:
Сообщение: Re: Does PostgreSQL support SET or ENUM data types?