Re: pg_dump negation regex - Mailing list pgsql-general

From Eudald Valcàrcel Lacasa
Subject Re: pg_dump negation regex
Date
Msg-id CANEx+AWBzsuh6R6OM4+DcES+_iBeeGCx4qnx+w=j4qr-Ez==ZA@mail.gmail.com
Whole thread Raw
In response to Re: pg_dump negation regex  (Rob Sargent <robjsargent@gmail.com>)
List pgsql-general
You're right Rob.

Thanks, it worked!
Eudald

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


> On May 7, 2020, at 1:03 PM, Eudald Valcàrcel Lacasa <eudald.valcarcel@gmail.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]*'

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Odd postgres12 upgrade is changing or munging a password?
Next
From: Tory M Blue
Date:
Subject: Memory footprint diff between 9.5 and 12