Re: [HACKERS] SPI example does not work for 7.1beta4

Поиск
Список
Период
Сортировка
От Limin Liu
Тема Re: [HACKERS] SPI example does not work for 7.1beta4
Дата
Msg-id 3ABB9645.ADE21428@pumpkinnet.com
обсуждение исходный текст
Ответ на SPI example does not work for 7.1beta4  (Limin Liu <limin@pumpkinnet.com>)
Список pgsql-general
> > ---
> >    SPI_connect();
> >    SPI_exec("create temp table tbl_tmp (n int);",0);
> >    SPI_exec("insert into tbl_tmp values (1);",0);
> >    SPI_finish();
> > ---
> > after InitPostgres and before setsigjmp().
>
> I doubt this will work correctly without a transaction around it ...

Thanks for the hint.  It works fine now between start/finish_xact_command.

--
LM Liu



В списке pgsql-general по дате отправления:

Предыдущее
От: "Vilson farias"
Дата:
Сообщение: indexes not working very well
Следующее
От: "Dan Wilson"
Дата:
Сообщение: Re: Alter column length