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 1kNcdi-0001qg-Ve for pgsql-general@arkaria.postgresql.org; Wed, 30 Sep 2020 13:59:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kNcdh-0007e3-2O for pgsql-general@arkaria.postgresql.org; Wed, 30 Sep 2020 13:59:25 +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 1kNcdf-0007dw-Gr for pgsql-general@lists.postgresql.org; Wed, 30 Sep 2020 13:59:24 +0000 Received: from [64.147.123.21] (helo=wout5-smtp.messagingengine.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kNcdZ-0002ig-2M for pgsql-general@lists.postgresql.org; Wed, 30 Sep 2020 13:59:22 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 5B09D10A7; Wed, 30 Sep 2020 09:59:05 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Wed, 30 Sep 2020 09:59:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=r M9PJ3szNCDFxaIhLYzshvDUU5nkj0hXs9RH2YTRZG8=; b=WtLnR8k/YkR3ojkEH zU4zaMLeY3fzeKTs/jIkzwcgjBCdVtOePzqO1KcCaeLV+8mNzyZpSmYc8T69o2Gu TxW1NJOZs/pZuuOUCtAObGpKJ42hvhQDHkIw0463F5qmuQN+yScpe/OHi1JBcgly c1AmlEeEZoILuqmwakCZrm2GNn+8f5y54mXGMnps9ypT9SSqOaveWaFgKHjB2pIW hEHHqMw6B9oiPQLSnDtC7SkhtLTgocLnAuMRq6VRHYYg0F/5sgJmoGaFzxh9bDVi 05dN2Dws2gmywGPlgRLuOx0rItrBk8vigdvm3l0njFBDH52KqgTZxMamedBRGHsq ddcgA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=rM9PJ3szNCDFxaIhLYzshvDUU5nkj0hXs9RH2YTRZ G8=; b=DXtCPIwYZHNt8i7XkOGqL9lgtZPE5fdYLGRSiU95l6wSeNbJ+oL7I5rMD YO3ERP9CtsZXU+M2rrFIapZXQ3fQl+ten042c1fcAqj/6gpdV0BYjo+w44a59BWs v9lHCsCGyfttNx8ZXpZYbvzLQpBHwvGpiPEc/f2BxjU/+jpUn4pVa5wTxh8ohhYs Qp+YqjijIF4UE0cPvjkrLBY27MqsgjwSZ+dg4bTkl/3ZoGShxQ+ta48hQkbyv98U 8UghT9+hzGwy4bdP6c3fOHkp5YLX89MCRxNwAgVOtv5IhOfY2KGTtTIznyy7Z5Ml mqsnS1BzM5Q8O7ePMKIUbphvY88Og== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrfedvgdeijecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpeetughrihgr nhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh eqnecuggftrfgrthhtvghrnhepteejvdetffejuedvleeifeefheeutdfhgfdvhffhhfek vdduveegvdejudefgfevnecukfhppeejhedrudejvddrhedrvdefudenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghv vghrsegrkhhlrghvvghrrdgtohhm 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 D27D33064685; Wed, 30 Sep 2020 09:59:03 -0400 (EDT) Subject: Re: Table sizes To: luis.roberto@siscobra.com.br, Charles Clavadetscher Cc: pgsql-general References: <78366091.53791693.1601467902283.JavaMail.zimbra@siscobra.com.br> <899489bcefe7f21b9db422b1ca797e15@swisspug.org> <56108176.54473966.1601474072988.JavaMail.zimbra@siscobra.com.br> From: Adrian Klaver Message-ID: Date: Wed, 30 Sep 2020 06:59:03 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <56108176.54473966.1601474072988.JavaMail.zimbra@siscobra.com.br> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 64.147.123.21 (deferred) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 9/30/20 6:54 AM, luis.roberto@siscobra.com.br wrote: > ------------------------------------------------------------------------ > > Thanks, this worked. > > I wonder though, why calling pg_relation_size('users') work (I don't > need to specify the schema). Because it is in the search_path. In psql do: show search_path; It will show you the schemas Postgres will search for a table name without using a schema qualification. -- Adrian Klaver adrian.klaver@aklaver.com