| От | Michael Fuhr |
|---|---|
| Тема | Re: Help with SPI... |
| Дата | |
| Msg-id | 20050831042836.GA95384@winnie.fuhr.org обсуждение исходный текст |
| Ответ на | Help with SPI... ("Cristian Prieto" <cristian@clickdiario.com>) |
| Список | pgsql-general |
On Tue, Aug 30, 2005 at 01:28:11PM -0600, Cristian Prieto wrote: > Well, the new value is really the content of a memory segment, I > know I could store it again using SPI and an UPDATE statement, but > that means that I need to transform the val value into a string, > and I don't know the length of the string with the scape characters > added. You could use SPI_prepare() and SPI_execp() without having to transform the bytea value into a string; see the SPI documentation and look around for examples that use numbered parameters ($1, $2, etc.). -- Michael Fuhr
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера