pg_dump and table exclusion: multiple patterns

Поиск
Список
Период
Сортировка
От Marc Mamin
Тема pg_dump and table exclusion: multiple patterns
Дата
Msg-id C4DAC901169B624F933534A26ED7DF31034BB7FD@JENMAIL01.ad.intershop.net
обсуждение исходный текст
Ответы Re: pg_dump and table exclusion: multiple patterns  ("Marc Mamin" <M.Mamin@intershop.de>)
Список pgsql-admin

  hello,

 

  I'm trying to export a schema with multiple table exclusions:

 

    pg_dump -i -v -nXXX -T '*20((08[0-9]+)|(09[0-9]+)|(100[1-8][0-9]+)|(1009[0-1][0-9]+))'

   

  unfortunately, the filter does not work as expected.(no table at all are excluded)

 

  when I try the same pattern with psql dt\, I get the expected list of tables to exclude...

 

 

  pg_dump --version

  pg_dump (PostgreSQL) 8.3.9

 

 

 

  I'd appreciate some help.

 

  best regards,

 

  Marc Mamin

В списке pgsql-admin по дате отправления:

Предыдущее
От: Lukasz Brodziak
Дата:
Сообщение: Could not read block error question
Следующее
От: "Marc Mamin"
Дата:
Сообщение: Re: pg_dump and table exclusion: multiple patterns