Escaping in C-language functions

From: Andreas Scherbaum <adsmail(at)htl(dot)de>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Escaping in C-language functions
Date: 2002-03-30 08:15:42
Message-ID: Pine.LNX.4.43.0203300901520.25985-100000@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


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 (how to handle \0 values)?

Best regards

--
Andreas 'ads' Scherbaum

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Khare 2002-03-30 13:26:02 How to give permission to others on data directory
Previous Message Justin Clift 2002-03-30 05:29:15 Posix AIO in new Red Hat Linux