Re: pg_dump empty tables

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Edu Gargiulo <egargiulo(at)gmail(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: pg_dump empty tables
Date: 2020-06-23 14:28:34
Message-ID: 63974c86-13e0-a498-a657-6060090b82c3@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 6/23/20 6:48 AM, Edu Gargiulo wrote:
> On Tue, Jun 23, 2020 at 10:34 AM Adrian Klaver
> <adrian(dot)klaver(at)aklaver(dot)com <mailto:adrian(dot)klaver(at)aklaver(dot)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
>

When you do the restore are there any errors in the Postgres log?

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2020-06-23 14:36:42 Re: i am getting issue as FATAL: password authentication failed for user ' postgres' tried
Previous Message Adrian Klaver 2020-06-23 14:14:14 Re: n_distinct off by a factor of 1000