| От | Guillaume Lelarge |
|---|---|
| Тема | Re: edit function |
| Дата | |
| Msg-id | 200909070831.05206.guillaume@lelarge.info обсуждение |
| Ответ на | edit function (Rakotomandimby Mihamina <mihamina@gulfsat.mg>) |
| Список | pgsql-general |
Le lundi 7 septembre 2009 à 08:26:27, Rakotomandimby Mihamina a écrit : > [...] > I have to insert several IF statements in the "IF FOUND" one. > I wont do it one time, I will insert them one by one. > > I cannot stop too much long the PG server (a /etc/init.d restart time > is OK, more is not) > > Dumping and the restoring is not possible because of too long downtime. > > DELETing CREATing the function is not possible because of dependency. > > When looking at the help, '\h' has no REPLACE FUNCTION. > Only ALTER FUNCTION > > How to manage it? > You're probably looking for CREATE OR REPLACE. -- Guillaume. http://www.postgresqlfr.org http://dalibo.com
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера