Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jnj44-00009O-23 for pgsql-general@arkaria.postgresql.org; Tue, 23 Jun 2020 13:34:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jnj42-0007eX-Vc for pgsql-general@arkaria.postgresql.org; Tue, 23 Jun 2020 13:34:14 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jnj41-0007dL-VE for pgsql-general@lists.postgresql.org; Tue, 23 Jun 2020 13:34:14 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jnj3z-0003gl-DB for pgsql-general@lists.postgresql.org; Tue, 23 Jun 2020 13:34:13 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 556565C03A7; Tue, 23 Jun 2020 09:34:10 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 23 Jun 2020 09:34:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=A xpSqcTAvf8YKqDrl3Bb4xN2mDGZ+ZcNMUsTSsDaTPs=; b=Cp6Nv49RQISbrZnbN IhcXe5629snweQNrY/qJcuSb843n+jKNt8XXVGt95dfOTO2KMv9yA6qUS/gwpUzT gF4VAQu8IIaaEliWRbZDIgBct+DOYRbfBe0NfBvbBOJdQZ2xs8SNURy4ioaY3bhL CXeDKUOkRCr3U5/mn7g41KQDerMgV1O46d6RxmN7AiE+RbE3JV3KLuPpMVd49qW4 e/4RyWhhMZLUXHGKFgKKOUuvzn7BHUkLvihXoQTN+qzJ4UMhv5O+faWml0oguYVV 3FQb1LkJeA6GvxS6Gr7B3d3/5+dlcFgGiQOKwsdzha6N3dSOXDyAL0g5sUM7qDr7 tmLYw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=AxpSqcTAvf8YKqDrl3Bb4xN2mDGZ+ZcNMUsTSsDaT Ps=; b=fUAd3ncDmAo9fEhXrVMuWO1M1asLKH1R6UdZFlyaPJGJpKlHmYVcFrz7d Usvd7/R9Pg+aYmPVal/nbkT90mQapFUZc7HH+6s99RKNJ7y0CD5WkcwLVlEHa3pR TuAjUP5tA9HzvRnSor0E4DdFxEV9a02hhS4vBDwGge9lYVzrabehZ6LylFGMgp8x pWHTBppSSaUMtuU4ekBTAqb0jv8W//PFH0f+ul2XQAg8tyU7MmqWHUd2HcCS4RRw 4WNIFJK4HWvd8KkKMCpLwTZ9V6XX48wNACkdnuJMePig4TKzm0EwOPUrxidM38vH HlHlxj9aV7Gxo2fTLZNDxcFiA8rdA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudekhedgfeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthejredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeetjedvteffjeeuvdelieeffeehuedthffgvdfhhffh kedvudevgedvjedufefgveenucfkphepjeehrddujedvrdehrddvfedunecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgr vhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Received: from [192.168.1.3] (75-172-5-231.tukw.qwest.net [75.172.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id 9DC8530674FD; Tue, 23 Jun 2020 09:34:09 -0400 (EDT) Subject: Re: pg_dump empty tables To: Edu Gargiulo , pgsql-general@lists.postgresql.org References: From: Adrian Klaver Message-ID: <0ef485b2-5091-d515-ecb2-3c05b1582199@aklaver.com> Date: Tue, 23 Jun 2020 06:34:08 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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