Hello All,
My application is a C++ APP.
I'm executing \copy command from the CPP and its as follows
strPgSqlQuerybuf<<"\\copy hnb_registration FROM
'/root/Sujay/hnbfile.txt' USING DELIMITERS ','";
Second \ is to keep the compiler happy. When this comm
On Thu, 2012-02-16 at 00:07 -0800, sujayr06 wrote:
> Hello All,
>
>My application is a C++ APP.
>
>I'm executing \copy command from the CPP and its as follows
>
>strPgSqlQuerybuf<<"\\copy hnb_registration FROM
> '/root/Sujay/hnbfile.txt' USING DELIMITERS ','";
Hello Guillaume,
Please find the usage of \copy and the corresponding API.
strPgSqlQuerybuf<<"'\'copy hnb_registration FROM
'/root/Sujay/hnbfile.txt' USING DELIMITERS ','";
pPostGresQueryResult = PQexecParams(pPgConnection,
strPgSqlQuerybu
Hello,
Please find the usage of \copy and the corresponding API.
strPgSqlQuerybuf<<"\\copy hnb_registration FROM
'/root/Sujay/hnbfile.txt' USING DELIMITERS ','";
pPostGresQueryResult = PQexecParams(pPgConnection,
strPgSqlQuerybuf.str().c_s
On Thu, 2012-02-16 at 01:05 -0800, sujayr06 wrote:
> Hello,
>
>Please find the usage of \copy and the corresponding API.
>
>strPgSqlQuerybuf<<"\\copy hnb_registration FROM
> '/root/Sujay/hnbfile.txt' USING DELIMITERS ','";
>
>pPostGresQ
On 02/16/12 1:05 AM, sujayr06 wrote:
Please find the usage of \copy and the corresponding API.
strPgSqlQuerybuf<<"\\copy hnb_registration FROM
'/root/Sujay/hnbfile.txt' USING DELIMITERS ','";
The \ commands are all metacommands for the PSQL utility, none