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 1sWzc6-000sJL-06 for pgsql-hackers@arkaria.postgresql.org; Thu, 25 Jul 2024 14:38:37 +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 1sWzc4-00FuFF-51 for pgsql-hackers@arkaria.postgresql.org; Thu, 25 Jul 2024 14:38:36 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sWzc3-00FuF6-Q7 for pgsql-hackers@lists.postgresql.org; Thu, 25 Jul 2024 14:38:35 +0000 Received: from mail-il1-x12e.google.com ([2607:f8b0:4864:20::12e]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sWzc1-001O9a-6f for pgsql-hackers@postgresql.org; Thu, 25 Jul 2024 14:38:34 +0000 Received: by mail-il1-x12e.google.com with SMTP id e9e14a558f8ab-3970f9331deso2573905ab.2 for ; Thu, 25 Jul 2024 07:38:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721918312; x=1722523112; darn=postgresql.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=hDgVa0AAMgADZdrYDpwqGuD4inVOtWDb+67yHzmSWE8=; b=LXd0b17DY0jer80EUDEamabxhbUJ2UlWKCokcIAPXwoHcI9Nug7bAxnMsINGGWys6I acIKfP4YwxIgC2lMy3FOi7AQ5HDOUN+bmZr9KXnAoNWxBIJJc7ccekKbME1poQtSQ8MN UUClErlbMgeMrFzBVvxBDk3qX1ePa9ZD1C3MbNS4H/i0y+KO/xDShXagCZeM9sZpFOTE UCSR8hySxHHinJIq9alpzSjCWdK3YthqZF2VqWb53J2cdE+s79JvssCFfyZZ4wQqlAy9 ZbOIcSoYj5bubwDBn8RlqNcKdrEK3lcbRIO+wapPITAM8Tzn/5eFmLI/tb9He49Q9KqT OkUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721918312; x=1722523112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=hDgVa0AAMgADZdrYDpwqGuD4inVOtWDb+67yHzmSWE8=; b=qr10YVMJmkjIJPbX/bl0ZE/5cos6F87PXKFbek0Vz3lP3zIHsCT03TYozmnfmren77 jKkMHPtGFP5UhKxZZIuF1Rt/RvVSsFawKrr2KW/C6NP7lrZHI1mlUePKDTCL0e8X6mAe 3UNbGd99u9X+KiGb/ptsEjFztFhtRq4vN9D25jCezVWXs8jWbTlH0tXY+sPOm5IFUnVu jmX5Q5RN02JyNOPBDwffGhAKJnvDM0LcvOHi8QGrUwvj/LueVL9Ffkwj9yj2wKw3Tp25 3lbeCcIr2SMIoe76q/SRKrMsE7rFh29KziLmwINmaa0reXco+++ox+w/wE/KMUKnF4hh mnHg== X-Forwarded-Encrypted: i=1; AJvYcCWvaRL7HUGm3Wzt0sFlpgmPzztztM5aJnnHbPtlyd+lxORWusz8HLbrL9fEN+6+B3yLDRbVa6CGRTqx5pQhqVoSBlLf/eewu70MO/sC X-Gm-Message-State: AOJu0YwNUVOUtw2c8arLCQvB2grbvTbkKEmsyP2lHkU65KVNfhMUufBF pAy6I8CU5frjAgE0Eh/2ley9KeIQqPtIC2ccmdnJlw1jgNrnrVrd X-Google-Smtp-Source: AGHT+IEEL5QP9Z45mF1IDmgFbOYdIZ7faQT8ShUIVjTyISuay90ej1CWvzIqiCtHmh1x/8qlaU4ZpQ== X-Received: by 2002:a05:6e02:184f:b0:383:4a12:b77c with SMTP id e9e14a558f8ab-39a23faaa1fmr28533955ab.8.1721918312159; Thu, 25 Jul 2024 07:38:32 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-39a22f13f81sm6214015ab.70.2024.07.25.07.38.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jul 2024 07:38:31 -0700 (PDT) Date: Thu, 25 Jul 2024 09:38:30 -0500 From: Nathan Bossart To: Dagfinn Ilmari =?iso-8859-1?Q?Manns=E5ker?= Cc: px shi , pgsql-hackers@postgresql.org Subject: Re: CREATE MATERIALIZED VIEW Message-ID: References: <87cyn1eft4.fsf@wibble.ilmari.org> <87a5i5ef7e.fsf@wibble.ilmari.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87a5i5ef7e.fsf@wibble.ilmari.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Jul 25, 2024 at 03:09:09PM +0100, Dagfinn Ilmari Mannsåker wrote: > Scratch that, I misread the diff. The tab completion has been there > since matviews were added in commit 3bf3ab8c5636, but the restriction on > unlogged matviews was added later in commit 3223b25ff73, which failed to > update the tab completion code to match. As noted a few years ago [0], the commit message for 3223b25ff73 indicates this was intentional: I left the grammar and tab-completion support for CREATE UNLOGGED MATERIALIZED VIEW in place, since it's harmless and allows delivering a more specific error message about the unsupported feature. However, since it looks like the feature was never actually supported in a release, and the revert has been in place for over a decade, I think it'd be reasonable to remove the tab completion now. It looks like the folks on the 2021 thread felt similarly. [0] https://postgr.es/m/flat/ZR0P278MB092093E92263DE16734208A5D2C59%40ZR0P278MB0920.CHEP278.PROD.OUTLOOK.COM -- nathan