Re: BUG #3648: Server crashes when trying to create a table
В списке pgsql-bugs по дате отправления:
| От | Anton A. Patrushev |
|---|---|
| Тема | Re: BUG #3648: Server crashes when trying to create a table |
| Дата | |
| Msg-id | 1191471087.3357.55.camel@localhost.localdomain обсуждение исходный текст |
| Ответ на | Re: BUG #3648: Server crashes when trying to create a table (Alvaro Herrera <alvherre@commandprompt.com>) |
| Список | pgsql-bugs |
Thanks Alvaro, I found the reason. The problem was after the table creation. Anton. > Anton A. Patrushev wrote: > > Hi Alvaro, > > > > In the function I'm trying to drop this table if it already exists: > > > > BEGIN > > > > DROP TABLE vertices_tmp; > > EXCEPTION > > WHEN UNDEFINED_TABLE THEN > > END; > > > > CREATE TABLE vertices_tmp ( id serial ); > > > > ... > > It still works for me. Can you try my function on your system? Does it > crash? > > create or replace function test_anton() returns void language plpgsql > as $$ > begin > begin > drop table anton; > exception > when undefined_table then > end; > create table anton(a serial); > end; $$; >
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера