Re: [pgadmin-support] RFE: Add a TRUNCATE script to scripts menu

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Andrew Lazarus <andrew(at)pillette(dot)com>
Cc: pgadmin-support(at)postgresql(dot)org, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgadmin-support] RFE: Add a TRUNCATE script to scripts menu
Date: 2007-10-05 10:02:28
Message-ID: 47060BB4.1020609@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers pgadmin-support

Hi Andrew,

Andrew Lazarus a écrit :
> Wednesday, October 3, 2007, 1:12:52 AM, you wrote:
>
> GL> andrew(at)pillette(dot)com a écrit :
>>> to go with INSERT, DELETE, etc.
>
> GL> I don't see much interest in a TRUNCATE script because there's nothing
> GL> more to add on the script. How about a simple "Truncate" or "Empty
> GL> Table" menu in the contextual menu ?
>
> Works for me! (Maybe even two: TRUNCATE and TRUNCATE ... CASCADE)
>

Here is the patch that adds a TRUNCATE and a TRUNCATE CASCADE menus.
They won't be in the 1.8 release but I hope it will be applied for the
next one.

Regards.

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

Attachment Content-Type Size
truncatetable.patch text/x-patch 3.6 KB

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message svn 2007-10-05 10:22:44 SVN Commit by guillaume: r6714 - trunk/pgadmin3/pgadmin/schema
Previous Message Andrew Lazarus 2007-10-04 17:19:48 Re: RFE: Add a TRUNCATE script to scripts menu

Browse pgadmin-support by date

  From Date Subject
Next Message Guillaume Lelarge 2007-10-05 10:25:51 Re: bug with out parameters
Previous Message Rikard Pavelic 2007-10-04 22:47:02 bug with out parameters