Re: 8.1 and syntax checking at create time

Поиск
Список
Период
Сортировка
От Tony Caduto
Тема Re: 8.1 and syntax checking at create time
Дата
Msg-id 43160F4E.2020209@amsoftwaredesign.com
обсуждение исходный текст
Ответ на Re: 8.1 and syntax checking at create time  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-hackers
When I run this I get this error in the database:
PostgreSQL Error Code: (1)
ERROR:  function "plpgsql_validator" does not exist

>In an already-loaded database, I think the following should work:
>
>UPDATE pg_language SET lanvalidator = 'plpgsql_validator'::regproc
>WHERE lanname = 'plpgsql';
>
>I'd recommend wrapping the update in a transaction and making sure
>only one record was updated before committing.
>
>Tom (or anybody else), are there any gotchas with updating pg_language
>like this?  It works for me in simple tests.
>
>  
>



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: 8.1 and syntax checking at create time
Следующее
От: huaxin zhang
Дата:
Сообщение: Re: 8.1 and syntax checking at create time