From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Edu Gargiulo <egargiulo@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: pg_dump empty tables
Date: Tue, 23 Jun 2020 06:34:08 -0700
Message-ID: <0ef485b2-5091-d515-ecb2-3c05b1582199@aklaver.com> (raw)
In-Reply-To: <CAD_UXMbu6Xy5ESEdAa2-o7vVN6O300exNYsywjcMZqg-SWz6hw@mail.gmail.com>
References: <CAD_UXMbu6Xy5ESEdAa2-o7vVN6O300exNYsywjcMZqg-SWz6hw@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, egargiulo@gmail.com
Subject: Re: pg_dump empty tables
In-Reply-To: <0ef485b2-5091-d515-ecb2-3c05b1582199@aklaver.com>
References: <CAD_UXMbu6Xy5ESEdAa2-o7vVN6O300exNYsywjcMZqg-SWz6hw@mail.gmail.com> <0ef485b2-5091-d515-ecb2-3c05b1582199@aklaver.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox