[WIP] Reduce likelihood of fdw prepared statement collisions

Поиск
Список
Период
Сортировка
От Marco
Тема [WIP] Reduce likelihood of fdw prepared statement collisions
Дата
Msg-id CABfz-yzDW1PcRWd=KVn+DSE59MpFFm+AHu1PTxNOozLrkirHjQ@mail.gmail.com
обсуждение исходный текст
Список pgsql-hackers
Hi All,

I realize using foreign data wrappers with transaction pooling may not be strictly supported, but for the most part they work. I am however occasionally noticing errors stemming from the prepared statement names created by the fdw modify code colliding between sessions/DBs.  

Would the development team be open to a patch which somehow makes this less likely? Something like the attached patch works, but probably isn't ideal? Perhaps there is a better unique identifier I can use here. I am very new to the postgres codebase.


Best
Marco Montagna

Вложения

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

Предыдущее
От: Masahiko Sawada
Дата:
Сообщение: Re: Key management with tests
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: Snapbuild woes followup