Escaping in C-language functions - Mailing list pgsql-general

From Andreas Scherbaum
Subject Escaping in C-language functions
Date
Msg-id 3CA3291D.AE0ADABF@htl.de
Whole thread Raw
List pgsql-general
Hello,

i have a C-language function and need to escape some strings returned
from SPI_getvalue to insert into another query string.
Is there a proper way to do the escaping or should i use
my own functions for that?
Or i'm totally wrong and there's a better way to get the values
from a row and insert it into another table?


Best regards

--
                                  Andreas 'ads' Scherbaum

pgsql-general by date:

Previous
From: Oliver Elphick
Date:
Subject: Multibyte problem with COPY FROM [Fwd: Re: postgres 7.2 and unicode]
Next
From: Frank Hilliard
Date:
Subject: pg_dump fails