Re: pg_dump negation regex - Mailing list pgsql-general

From Rob Sargent
Subject Re: pg_dump negation regex
Date
Msg-id 035FA42C-1684-4F11-A940-55C7D5093A8A@gmail.com
Whole thread Raw
In response to Re: pg_dump negation regex  (Eudald Valcàrcel Lacasa <eudald.valcarcel@gmail.com>)
Responses Re: pg_dump negation regex  (Eudald Valcàrcel Lacasa <eudald.valcarcel@gmail.com>)
List pgsql-general

> 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: Re: Odd postgres12 upgrade is changing or munging a password?