Re: pg_dump empty tables - Mailing list pgsql-general

From Adrian Klaver
Subject Re: pg_dump empty tables
Date
Msg-id 0ef485b2-5091-d515-ecb2-3c05b1582199@aklaver.com
Whole thread Raw
In response to pg_dump empty tables  (Edu Gargiulo <egargiulo@gmail.com>)
Responses Re: pg_dump empty tables
List 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.klaver@aklaver.com



pgsql-general by date:

Previous
From: Jason Ralph
Date:
Subject: UPDATE on 20 Million Records Transaction or not?
Next
From: Adrian Klaver
Date:
Subject: Re: UPDATE on 20 Million Records Transaction or not?