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 13:34:08
Message-ID: 0ef485b2-5091-d515-ecb2-3c05b1582199@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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?

What is the schema for one of the tables? e.g \dt table_name

What is does a SELECT on those fields show?

>
> i'm wondering if is it a normal behaviour of pg_dump and how should I
> execute it to include data on that tables.
>
> Any hint would be appreciated. Thanks in advance and sorry for my english
>
> --
> edugarg

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2020-06-23 13:38:05 Re: UPDATE on 20 Million Records Transaction or not?
Previous Message Jason Ralph 2020-06-23 13:32:45 UPDATE on 20 Million Records Transaction or not?