| От | Raymond O'Donnell |
|---|---|
| Тема | Re: Implementing replace function |
| Дата | |
| Msg-id | 4CCDA9C5.7010409@iol.ie обсуждение исходный текст |
| Ответ на | Re: Implementing replace function (Alexander Farber <alexander.farber@gmail.com>) |
| Список | pgsql-general |
On 31/10/2010 17:28, Alexander Farber wrote: > I've created a function now (below) and can call it as well, > but how can I see it at the psql prompt? Is there a \d command > for that or should I dump the database to see my declarations? You can do \df public.*, assuming that your function is in the public schema, to get a list of all functions; and \df+ <function name> will give you the function body also. \? is your friend here. > And is my function atomic? I.e. can't it happen, that FOUND > is not true, but then another session calls a INSERT inbetween? Yes - all functions are executed in an implicit transaction. Ray. -- Raymond O'Donnell :: Galway :: Ireland rod@iol.ie
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера