Thread: (no subject)

(no subject)

From
Unixprgrmr@aol.com
Date:
I am running postgres 7.1.3.


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

Re: (no subject)

From
Bruce Momjian
Date:
My guess is that this is fixed in 7.2.X or 7.3.  The current code looks
fine.


---------------------------------------------------------------------------

Unixprgrmr@aol.com wrote:
> I am running postgres 7.1.3.
>
>
> 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

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073