Re: truncate multiple tables doesnt work

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: Andrew Chen <andrew(at)stretche(dot)com>, pgadmin-support(at)postgresql(dot)org
Subject: Re: truncate multiple tables doesnt work
Date: 2012-02-15 20:37:18
Message-ID: 1329338238.2269.39.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On Wed, 2012-02-15 at 20:34 +0000, Dave Page wrote:
> On Wed, Feb 15, 2012 at 8:34 PM, Guillaume Lelarge
> <guillaume(at)lelarge(dot)info> wrote:
> > On Wed, 2012-02-15 at 20:31 +0000, Dave Page wrote:
> >> On Wed, Feb 15, 2012 at 8:29 PM, Guillaume Lelarge
> >> <guillaume(at)lelarge(dot)info> wrote:
> >> > On Wed, 2012-02-15 at 12:01 -0800, Andrew Chen wrote:
> >> >> I have pgadmin3 1.14.1 and postgresql 9.1, when I select multiple tables,
> >> >> right click and select truncate, it truncates only one table at a time.
> >> >
> >> > You cannot select more than one object in the browser.
> >>
> >> You can in the list view.
> >>
> >
> > Oh crap. I didn't know that. Shouldn't we disallow the contextual menu
> > there?
>
> No - the whole point is to allow operations on multiple objects at
> once. Iirc, things like Drop Object work fine with multiple objects.
>

Yeah, I just tried that, and indeed it works.

Not for truncate, though... which I guess should be treated as a bug.

--
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Guy Rouillier 2012-02-16 04:26:29 Re: \Copy and "Copy With Headers" -- every day these bug me.
Previous Message Dave Page 2012-02-15 20:34:52 Re: truncate multiple tables doesnt work