Re: RFE: Add a TRUNCATE script to scripts menu - Mailing list pgadmin-support

From Guillaume Lelarge
Subject Re: RFE: Add a TRUNCATE script to scripts menu
Date
Msg-id 47034F04.5050209@lelarge.info
Whole thread Raw
In response to RFE: Add a TRUNCATE script to scripts menu  (andrew@pillette.com)
Responses Re: RFE: Add a TRUNCATE script to scripts menu  (Andrew Lazarus <andrew@pillette.com>)
List pgadmin-support
andrew@pillette.com a écrit :
> to go with INSERT, DELETE, etc.

I don't see much interest in a TRUNCATE script because there's nothing
more to add on the script. How about a simple "Truncate" or "Empty
Table" menu in the contextual menu ? For exemple, just before the
"Delete" menu ? It would execute a TRUNCATE statement on the table.
Would this work for you ?

Regards.


-- 
Guillaume.http://www.postgresqlfr.orghttp://dalibo.com


pgadmin-support by date:

Previous
From: andrew@pillette.com
Date:
Subject: RFE: Add a TRUNCATE script to scripts menu
Next
From: Mauro Bertoli
Date:
Subject: Bug creating table