Re: Please help me to take a look of the erros in my functions. Thanks.

Поиск
Список
Период
Сортировка
От leaf_yxj
Тема Re: Please help me to take a look of the erros in my functions. Thanks.
Дата
Msg-id 1333462014250-5615238.post@n5.nabble.com
обсуждение исходный текст
Ответ на Re: Please help me to take a look of the erros in my functions. Thanks.  (Bartosz Dmytrak <bdmytrak@gmail.com>)
Список pgsql-general
Bartek, Thanks. The reason I use the cursor is that I want to check the table
is in the pg_tables or not,
If it exists, the function will execute successfully, if not, it will raise
the message that the table doesn't exist.  For the schema part, I assume the
people has set the search_path to that schema which the table is in and
because our database only has one schema. So I assume they have the right
search_path.

Thanks for your advice. It helps me  a lot.

--
View this message in context:
http://postgresql.1045698.n5.nabble.com/Please-help-me-to-take-a-look-of-the-erros-in-my-functions-Thanks-tp5613507p5615238.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

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

Предыдущее
От: leaf_yxj
Дата:
Сообщение: Re: Please help me to take a look of the erros in my functions. Thanks.
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Re: Please help me to take a look of the erros in my functions. Thanks.