Escaping in C-language functions

From: Andreas Scherbaum <adsmail(at)htl(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: Escaping in C-language functions
Date: 2002-03-28 14:30:53
Message-ID: 3CA3291D.AE0ADABF@htl.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Frank Hilliard 2002-03-28 14:50:47 pg_dump fails
Previous Message Oliver Elphick 2002-03-28 14:12:57 Multibyte problem with COPY FROM [Fwd: Re: postgres 7.2 and unicode]