Re: [GENERAL] Help with SPI...

2005-08-30 Thread Michael Fuhr
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 o

[GENERAL] Help with SPI...

2005-08-30 Thread Cristian Prieto
Hi, I will try to explain the most possible my question:   I'm writing a Store Procedure as a C Language Function in the Database, I need to handle a bytea (binary objetc) and store it in a modified mode in the database, I've done it in the following way:   PG_FUNCTION_INFO_V1(myspi);   Datu