Re: pg_dump empty tables

Поиск
Список
Период
Сортировка
От Edu Gargiulo
Тема Re: pg_dump empty tables
Дата
Msg-id CAD_UXMa_4OrdOtRvNcbX9PRgZBaYTYBd-ZhoQrnKqSqRK=L9Pw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pg_dump empty tables  (Adrian Klaver <adrian.klaver@aklaver.com>)
Ответы Re: pg_dump empty tables
Список pgsql-general


On Tue, Jun 23, 2020 at 10:56 AM Adrian Klaver <adrian.klaver@aklaver.com> wrote:
On 6/23/20 6:48 AM, Edu Gargiulo wrote:
> On Tue, Jun 23, 2020 at 10:34 AM Adrian Klaver
> <adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>> wrote:
>
>     On 6/23/20 6:30 AM, Edu Gargiulo wrote:
>      > Hi all,
>      >
>      > We are using postgresql 11.7 on Debian.
>      > I noticed that pg_dump is not including records on tables with
>     fields
>      > defined as array type (integer[] and real[]). The table structure is
>      > normally restored but they have 0 records on restoring.
>
>     What is the complete command you are using when running pg_dump?
>
>
> /usr/bin/pg_dump -d historic -Z 9 -Fc -f srvtsdb01.dmp

Coffee has kicked in and I realized I should have asked for the
pg_restore command as well. So what is that?

pg_restore -d historic -h localhost --clean srvtsdb01.dmp
pg_restore -d historic --schema well --verbose srvtsdb01.dmp
pg_restore -d historic --schema well --clean --verbose srvtsdb01.dmp
 

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: i am getting issue as FATAL: password authentication failed foruser ' postgres' tried
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: pg_dump empty tables