Re: PSQLException: ERROR: could not open relation with OID xxxx

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: PSQLException: ERROR: could not open relation with OID xxxx
Дата
Msg-id 4D7DD8B8020000250003B816@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: PSQLException: ERROR: could not open relation with OID xxxx  ("Gnanakumar" <gnanam@zoniac.com>)
Список pgsql-admin
"Gnanakumar" <gnanam@zoniac.com> wrote:

> Instead of touching/refactoring all the 35 functions just to
> rename the table name, we decided to create the temporary table
> name same as that of existing permanent table for running this
> complex report alone

If it were me I would be running some global search and replace on
the scripts which create those functions.  At a bare minimum you
should be running these reports under a login without rights to drop
permanent production tables.  (We never let applications connect
with a login which can do DDL except on temporary tables.)

-Kevin

В списке pgsql-admin по дате отправления:

Предыдущее
От: Glyn Astill
Дата:
Сообщение: Re: Dropping all constraints in database
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: PSQLException: ERROR: could not open relation with OID xxxx