| От | Richard Huxton |
|---|---|
| Тема | Re: Locking for function creation |
| Дата | |
| Msg-id | 4573FB4C.3050507@archonet.com обсуждение исходный текст |
| Ответ на | Locking for function creation (Mark Morgan Lloyd <markMLl.pgsql-general@telemetry.co.uk>) |
| Список | pgsql-general |
Mark Morgan Lloyd wrote: > If there's a risk that multiple clients will try to execute a 'create or replace > function' simultaneously, what's the recommended practice for putting it in a > transaction and/or locking it? If a lock's incolved what should this be applied > to- the table that the function is most likely to be involved with, an arbitrary > table, or a dummy table specifically reserved for this purpose? What problem are you trying to prevent here? Do you want a particular version of the function to be available for a certain amount of time? -- Richard Huxton Archonet Ltd
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера