| От | dinosaur8000@yahoo.com (giant food) |
|---|---|
| Тема | validation of postgresql functions |
| Дата | |
| Msg-id | a61ab53c.0309291340.6e227508@posting.google.com обсуждение исходный текст |
| Ответы |
Re: validation of postgresql functions
|
| Список | pgsql-general |
Hi, I'm in the process of converting an Oracle database into postgresql. One thing I've noticed is that postgresql functions keep the entire function body in a string, e.g.: CREATE OR REPLACE FUNCTION f_do_something(varchar, numeric, varchar) RETURNS varchar AS ' ... ' LANGUAGE 'plpgsql' VOLATILE; The problem I'm having with this is that I can never find any errors in my functions until runtime, unlike with Oracle where the "create function" script will fail if, for example, I misspelled a table name. Is there any way to force postgresql to compile functions, without running them first? --Frank
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера