(no subject)

Started by Nonameover 23 years ago2 messagesgeneral
Jump to latest
#1Noname
Unixprgrmr@aol.com

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

#2Bruce Momjian
bruce@momjian.us
In reply to: Noname (#1)
Re: (no subject)

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