Fwd: ERRONIOUS .cpg parsing - Mailing list pgsql-general

From Unixprgrmr@aol.com
Subject Fwd: ERRONIOUS .cpg parsing
Date
Msg-id 193.dd59a80.2ac360ad@aol.com
Whole thread Raw
Responses Re: Fwd: ERRONIOUS .cpg parsing  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
I discovered and can easily repeat:

EXEC SQL TRUNCATE TABLE foo;

being translated to:

EXEC SQL DROP TABLE foo;

in the cpg preprocessor!!!
Is there a valid reason for this? OR is this a COCK-ROACH????

Thanks for your help!
Lynn

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Administrator issue
Next
From: Unixprgrmr@aol.com
Date:
Subject: Fwd: how do I detect when I have reached the last record of the table in ecpg?