libpq and SPI
От | Gerald L. Gay |
---|---|
Тема | libpq and SPI |
Дата | |
Msg-id | 01be01be607c$1cf40d40$9a028a8f@2isdt54.korea.army.mil обсуждение исходный текст |
Ответы |
Re: [HACKERS] libpq and SPI
|
Список | pgsql-hackers |
Hi, I have seen what I concider to be a bug in either the libpq library or in the backend. To see the effects, first, install the execq() function from the SPI section of the Programmers Guide. Then do this in psql: template1=> select execq('create user fred', 1); Backend sent D message without prior T At this point psql will hang. I have a patch for libpq that fixes this but I am not sure if this is the right place for it. My questions are: Is it not reasonable to run "utility" queries from inside SPI? Is the problem in the client-side libpq interface or should something be done at the server end? If anyone is interested, I can explain why I want to do this. Any advice would be greatly appreciated. Jerry
В списке pgsql-hackers по дате отправления: