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 1l1VSD-00054d-97 for pgsql-hackers@arkaria.postgresql.org; Mon, 18 Jan 2021 14:24:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l1VSC-00057p-3t for pgsql-hackers@arkaria.postgresql.org; Mon, 18 Jan 2021 14:24:24 +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 1l1VSB-00057i-LU for pgsql-hackers@lists.postgresql.org; Mon, 18 Jan 2021 14:24:23 +0000 Received: from lb3-smtp-cloud7.xs4all.net ([194.109.24.31]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l1VS8-0007vY-7d for pgsql-hackers@lists.postgresql.org; Mon, 18 Jan 2021 14:24:22 +0000 Received: from webmailclassic.xs4all.nl ([IPv6:2001:888:0:22:194:109:20:214]) by smtp-cloud7.xs4all.net with ESMTPA id 1VS3lJAtYyutM1VS3lZ5Pw; Mon, 18 Jan 2021 15:24:16 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=s2; t=1610979856; bh=FhWlpfONZXV+ndguFoK09ksNBF0Z3LvHY6xUDIzF3wc=; h=MIME-Version:Date:From:To:Subject:Message-ID:Content-Type:From: Subject; b=GaaCAN3SpCEX6iYWmQmzTQi1f1T8KrZb8kCifT/y1gGGyxKl3aVKTQj8bKV/fRN2J fa8E9sktRdL4ml+iiUhccq49szL4LsSTbw4A0mb6LYETj1iwrBsIQWkH7/ubLW+ea0 1pwSh/aMY+45+MKzC7XHG8yj7hWaCk5r4FdmBwIy8Nby22dxfYp9hWFiLjK3PayOsd +GRsGbMsH98ohhy2MlyyJy7MAcrM0BFgNKbG8hAEikVjAXbbCC8lbXfMeOydlA7XpA sfriBNV8goRE1Tzlf9k1jgcEGbi+up0Vbxr0k4BxsNepZBQkT5pUFoiXfa22lJTB9e rUjnVLvkcVSGw== Received: from fc0c:c185:a5f8:6dfd:a400:6e47:313b:867f by webmailclassic.xs4all.nl with HTTP (HTTP/1.1 POST); Mon, 18 Jan 2021 15:24:15 +0100 MIME-Version: 1.0 Date: Mon, 18 Jan 2021 15:24:15 +0100 From: Erik Rijkers To: Pavel Stehule Cc: Michael Paquier , Zhihong Yu , Amit Kapila , DUVAL REMI , PostgreSQL Hackers Subject: Re: proposal: schema variables In-Reply-To: References: <20200924035637.GF28585@paquier.xyz> <20201001033824.GC8130@paquier.xyz> <51a9a68e8a998d04df17417d45c1dbd4@xs4all.nl> <89817942c99da01cd5e7850fe418436b@xs4all.nl> Message-ID: <56ca532c37eb0b540961f74a7bd5db39@xs4all.nl> X-Sender: er@xs4all.nl User-Agent: XS4ALL Webmail Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4xfKW8Tqvvno7l+qK8jdCjUQBnsITtbhFqE2wkWa4aK77eftDDbpMdA1iFx3YC/lSwXLBZfrLiHUNlGcFhSSyVFvz00rMz6s8BaqrypD5VEfIQQNwQwTXM wB5nORG533dvfVykK52vhXZwqRiZ8J5emfa1YApwh8ehUTpVv1CbREJ0uMIm93XUBLAzBTVBjQdreN/hUqkV4qnsTG55bZdXf9MvkhHv68kzopQag8vOHt5a 4ZDh3VR8KXPSBdaOlauTlIawrdih6vqAf9ElAlj+esYG74zz2nYnlDIxvF6XRULwU6I+L0LNVjY+ow37NjCRWRVsdEJ3FUq1/XFNhPefg+mz60kQvnXumkG/ eZ5KSLsmvSY2xQmVXjSeMaEZTamj2n1TbESRFvKJ2lHK/naL79/1NtIy6l2CoJWKCfB8fDjX List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2021-01-18 10:59, Pavel Stehule wrote: >> > and here is the patch > [schema-variables-20200118.patch.gz ] One small thing: The drop variable synopsis is: DROP VARIABLE [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ] In that text following it, 'RESTRICT' is not documented. When used it does not give an error but I don't see how it 'works'. Erik