Re: pg_dump negation regex

From: Eudald Valcàrcel Lacasa <eudald(dot)valcarcel(at)gmail(dot)com>
To: Rob Sargent <robjsargent(at)gmail(dot)com>
Cc: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: pg_dump negation regex
Date: 2020-05-07 19:54:44
Message-ID: CANEx+AWBzsuh6R6OM4+DcES+_iBeeGCx4qnx+w=j4qr-Ez==ZA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

You're right Rob.

Thanks, it worked!
Eudald

El jue., 7 may. 2020 a las 21:16, Rob Sargent (<robjsargent(at)gmail(dot)com>)
escribió:

>
>
> > On May 7, 2020, at 1:03 PM, Eudald Valcàrcel Lacasa <
> eudald(dot)valcarcel(at)gmail(dot)com> wrote:
> >
> > I know the -T command, but I'm trying to regex the "pattern" in -T in
> order to exclude all tables named program_1 onwards.
> > I believe commonly you'd use -T "program_!0", but the ! negation keyword
> is not defined.
> >
> > Thanks,
> > Eudald
> >
>
> More like ‘program[^0].*’ of there are no leading zero (e.g.09) or
> ‘program[1-9][0-9]*'

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tory M Blue 2020-05-07 20:33:20 Memory footprint diff between 9.5 and 12
Previous Message Adrian Klaver 2020-05-07 19:32:36 Re: Odd postgres12 upgrade is changing or munging a password?