Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tDlUZ-0031eg-SH for pgsql-hackers@arkaria.postgresql.org; Wed, 20 Nov 2024 14:15:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tDlUY-0069SP-1Y for pgsql-hackers@arkaria.postgresql.org; Wed, 20 Nov 2024 14:15:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tDlUX-0069SH-Mg for pgsql-hackers@lists.postgresql.org; Wed, 20 Nov 2024 14:15:37 +0000 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1tDlUV-002w1Q-Gz for pgsql-hackers@lists.postgresql.org; Wed, 20 Nov 2024 14:15:36 +0000 Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-5ceca0ec4e7so2436091a12.0 for ; Wed, 20 Nov 2024 06:15:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f10-com-br.20230601.gappssmtp.com; s=20230601; t=1732112134; x=1732716934; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=KMUBwBrfk1bvHFmUE3uVCfX5yOzTPk9Tz83COiEnOuc=; b=G6rBoaU1k5OwrPQFXQ9O7avSkHyREZg1M0f/5WNmkRghM2+/I1/Oq/DRVsEVGcEoV+ tDorZNdiELXn76Rx/ZnMyjOnRavwwzwzcq/xC+QvVryjAFbJPu8/2EH0D0cljlC5D/Vm lG2FSyAcM6or/l3kRLq3yDFEcb/3KRi9cCNkDd79krtDgGX5bncrv/wy2Vndso1ed4/t /i0Jv56paF8KNLVoeD3SEPAR4Ipzlr4/ohx5/HZii82shKpGqkSypTr1cM/45R3UE1/6 haA7XGwZ2ROtFJrPRGU0D5j0Wivnz2VRS1dTgTLCSzN+jiEYD7wlSKcI7YJQ52oml1fc Pbeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732112134; x=1732716934; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=KMUBwBrfk1bvHFmUE3uVCfX5yOzTPk9Tz83COiEnOuc=; b=BSCSHYNIekg4iFZAXk15Zpbeq7fxQ++qasiWJAaMRTEodh02HhO2/8dMQ9t3nz8n/3 JDQa5B9KpMFu19fBLTppBqt0ZJW5NhBBDsLs+0hXSbi8skJ7MtNQXLi41e5xZ0huxnrc FuTwdfX5iiJhV4iAliMxeIuUCfnJMDCqPmDpWKL7/25h0XNtg3tzknQynkmsGoHXoVFi 57/OKARfI2i6DOqdO2myxY9q0cu/T98rD8P+rXx8HTWrECh8+GpmxTPuBuNQBZAkhLyS oYHZocPN5ZIA6IWHsVX/YaSkzeQfoIHAOzQMpggN2X/bmIiPq7cT7OJsjNgscX5771tz LPdg== X-Forwarded-Encrypted: i=1; AJvYcCVNftyZY6N3zLbGyBlC97tkxnJDlgSOuZm4aNYuIwST4wa/QFnFA0+nwTwM2a75BqrPYAwYOYCLyE3Zlhog@lists.postgresql.org X-Gm-Message-State: AOJu0YxbsgBoj6Dk67o+I90oVk54qwR2Hoo+H22CSkD3IsShMOYDwKZv 8BU5QTHDLnN+o+TnjU33lcubw/Zy3Y+mZ6SUMFvyaLtuFyfzwzN7B4oGZd00DXHzdfIcpJvYQvz jkWcz3+zgSOs6b9uzcZDHngXx+uytBqXZJMm/ X-Google-Smtp-Source: AGHT+IEeNAbhYpuchCur2ZOiYsNj5DKi4UvRzTYyEnQL/PQLjuatqk5aBhddT8oFfw8RAfJJScKCJOaJh+UQaJEq4xc= X-Received: by 2002:a17:907:c14:b0:a9a:7f91:8c76 with SMTP id a640c23a62f3a-aa4dd36e524mr267639266b.0.1732112133824; Wed, 20 Nov 2024 06:15:33 -0800 (PST) MIME-Version: 1.0 References: <3chredgnjcmccym2kczawfih226b4ac6co7p6z4jeofevrcosi@mrsxkx2x2c65> In-Reply-To: From: Marcos Pegoraro Date: Wed, 20 Nov 2024 11:14:55 -0300 Message-ID: Subject: Re: proposal: schema variables To: Pavel Stehule Cc: Dmitry Dolgov <9erthalion6@gmail.com>, Laurenz Albe , Erik Rijkers , Michael Paquier , Amit Kapila , DUVAL REMI , PostgreSQL Hackers Content-Type: multipart/alternative; boundary="00000000000072d3e6062758c862" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000072d3e6062758c862 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Em qua., 20 de nov. de 2024 =C3=A0s 10:52, Pavel Stehule escreveu: > COMMIT can be a little bit messy. TRANSACTION END is more intuitive, I > think. > >> Exactly to be not messy I would just ON COMMIT for all, and DOCs can explain that this option is ignored for temp objects and do the same at the end of transaction, independently if commited or rolled back --00000000000072d3e6062758c862 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Em qua., 20 de nov. de 2024 =C3=A0s = 10:52, Pavel Stehule <pavel.s= tehule@gmail.com> escreveu:
COMMI= T can be a little bit messy. TRANSACTION END is more intuitive, I think.
=

Exactly to be no= t messy I would just ON COMMIT for all, and DOCs can explain that this opti= on is ignored for temp objects and do the same at the end of transaction, i= ndependently if commited or rolled back
--00000000000072d3e6062758c862--