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 1n46xI-00072D-BO for pgsql-general@arkaria.postgresql.org; Sun, 02 Jan 2022 19:55:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1n46xG-0001pp-KI for pgsql-general@arkaria.postgresql.org; Sun, 02 Jan 2022 19:55:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n46xE-0001pg-RH for pgsql-general@lists.postgresql.org; Sun, 02 Jan 2022 19:55:46 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n46xB-00033z-BS for pgsql-general@lists.postgresql.org; Sun, 02 Jan 2022 19:55:44 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id C90035C00D3; Sun, 2 Jan 2022 14:55:37 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sun, 02 Jan 2022 14:55:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=M 7rw6kZRzYzohCojFqVvMtJkMVMz7ePb3SAWpR+aTN0=; b=xFbKPBhR4iDWZ93nf 2QI62euH5+E/D2xGUpZFMbZAQCPBH7eLEARM6NNY+fYbiQYKJ6E77HTjdkN/VLcl w09w/9gbexbrGpG4vF39a7D04il+lIt0Ve4C9HVjmrlptAmG+zyeKslL2rrS8JTT zHGAx50GXdvRIn91AkbFRfS1qtCGUzef7fs/iwPzsVV8aqyFtX7yQ3C+i6sG0dMC R66cmXj5T12VeUzsqQ+HUcFpepbPu/SYVwzTPd/GIUK+MqbJle01BX1n9JFxe9/M zJeDbbvvofCRbT07GRzDnXqz0bXBa1mKQnbOllwd8D5bqXevOfyty5YJQpzAkRTJ JTkag== 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=fm1; bh=M7rw6kZRzYzohCojFqVvMtJkMVMz7ePb3SAWpR+aT N0=; b=WV6wXbkJeKykHjtuXqlR2Aeiw5o+GrTse5EsXszipJst2bPn9ALJyyZmW TRxP7A9Jm8V29Xo2bnCcNDFtADbrBZJDbCwXcgqgFp7qrQHKBKKSO9SLvxBp/RZo aBrdAv2rBaXBwaI9GjGD8oyM0xgELr4fPWxwR4TQGSJ4wr3gKLpZPnMstTRXKTIt zLl4gw4k8xRWcopExJBycSdahgOAGM5IBH6+1fjLWRJdF3pH1D1QkjDh+gN72l6k OlVGPErmEm1IshD50mMAeHo+Fv+e1j5xFxfhdgnBP7/FFsUCCeQM3PqGXBjyqKNI xSCDLW38r7OdBQCSaxvFlI0Nu909w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddruddvledgudeftdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeetughr ihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtg homheqnecuggftrfgrthhtvghrnhepffduhedtudeggfekveduffehveevhfeftedthfev iedvgfeigefhieeugefggfegnecuffhomhgrihhnpehpohhsthhgrhgvshhqlhdrohhrgh enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughr ihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 2 Jan 2022 14:55:36 -0500 (EST) Message-ID: <830db592-c67e-65a1-db73-a7fe7f9f49d6@aklaver.com> Date: Sun, 2 Jan 2022 11:55:36 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 Subject: Re: Visibility of data from table inherits function Content-Language: en-US To: ourdiaspora , Francisco Olarte Cc: "pgsql-general@lists.postgresql.org" References: <-YOusR_95io8hzFnscly6yFVD7ssgOhG0dnTRskP2hU2TaCDS29X2XIxNaYAKjZjYdYYYVF87qlFcmzDHIgw-9ooalVT6DkLDnd6cLqHCko=@protonmail.com> From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 1/2/22 11:41, ourdiaspora wrote: > On Sunday, January 2nd, 2022 at 3:54 PM, Francisco Olarte wrote: >> >> Inherits does not copy things. LIKE on creation does, but AFAIK it can >> >> copy nearly everything except data. >> > > Thanks, had read that part of the documentation. > > So far it seems that functions 'joins' may be used to view data, whilst the functions 'views' is unable to be used with data entry. They are not functions. A join is a clause in a query. A view is an object that can be created and then used like a table. Views can be used for data entry, see: https://www.postgresql.org/docs/current/sql-createview.html Search for section: Updatable Views > > Please, any suggestions of an alternative function to use? > > > > -- Adrian Klaver adrian.klaver@aklaver.com