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 1stDhc-00EV70-BL for pgsql-hackers@arkaria.postgresql.org; Tue, 24 Sep 2024 22:08:13 +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 1stDhZ-00Fcai-N3 for pgsql-hackers@arkaria.postgresql.org; Tue, 24 Sep 2024 22:08:09 +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 1stDhZ-00Fcaa-Bq for pgsql-hackers@lists.postgresql.org; Tue, 24 Sep 2024 22:08:09 +0000 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1stDhR-000uTT-2W for pgsql-hackers@lists.postgresql.org; Tue, 24 Sep 2024 22:08:08 +0000 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-42ca4e0299eso50066485e9.2 for ; Tue, 24 Sep 2024 15:08:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727215681; x=1727820481; darn=lists.postgresql.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :subject:cc:to:from:date:sender:message-id:from:to:cc:subject:date :message-id:reply-to; bh=6MuqwtMPm7ZhqhnuWbDG49inro9lpajxczd3bGMZiOQ=; b=NBUA/+vqagM6m23ylUsw5rDUozLl3CKiQM7YcCIneWUfX9bQBxWe5KmZ+0d4+r8QHh mbk3cDbjc2qW/AFiUl85go1J+6lpNGJenKLnJ/gEiEV4o9hJ2RZUhi8IDZMmo5L4W7Je TZGWiU/T/fcsCqgOF6kEaCkxFR0M0mJwC58VR0CKJdiKqqzE8zntKN4MlghdSeuMa9xD ejQc1edS9IexNJ+VVT432v7q6+s/zmLKchWhEsf29oN3w0QCrTnxnGs8jaWQuQCc4sAI Hv00P/B5nn2iQ+fLix4JYbSJw2um0jD7dAIdGYlDrgx4VTzc04vw5BY543WZVURMcYLH uiVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727215681; x=1727820481; h=user-agent:in-reply-to:content-disposition:mime-version:references :subject:cc:to:from:date:sender:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=6MuqwtMPm7ZhqhnuWbDG49inro9lpajxczd3bGMZiOQ=; b=JOxhqVdwgiJc1zgSIHA5xpcewP0N0HJEOadP3ycgzARpK20TPSp83bM41v7t86Wwb7 /BWTHc6vGW6dcLo6fYIyS/X1II4fQpE7YkKk5vBToX6emPukmdpRxTuv7GyNJzkCQZS5 Xq+LXLC7ZQAf50w1YS3Qk8XKoXubGPE00wMgh7Zzjll7AAzpMou3wicAJvuUDetCkMjw 44ltD5pXyLko5U4vjO3KPnOTVlJjsfSPGWe8NUpINA7EH/DvyhTvy1YLoEtbJPnwt5JN Pd5uj7rNdKIbbD1o7eGN6+5Z8WWL8cjz/i/c8T+5n8v4ajoswM+79mByEosJHGpDgAIR kkvQ== X-Forwarded-Encrypted: i=1; AJvYcCUq1Oy3Uv6mOpeWMMKi3wZudUChAcOVHoD1114grwVH0mmMu0SG8WHny9YEqvtxLqJ90f08kovFeBtTmHsk@lists.postgresql.org X-Gm-Message-State: AOJu0YyvxKeIZXHAX/xyUdu/HdoRW1/K/3gadNM6R6Ku9pushlBNyphI 3kEJfvWonDjyOBjG5dHVRPI7vRpusiSfB8l3WW2rEx//P8HOWRE6 X-Google-Smtp-Source: AGHT+IHOIAgq5POBd5DsFSS+OfarN6F/eDNd1beqClVwvOsYxWvnp+0ZKITy8bZUdyfl8CE50x45gA== X-Received: by 2002:a5d:4526:0:b0:378:8dea:4bee with SMTP id ffacd0b85a97d-37cc248d094mr379543f8f.33.1727215680838; Tue, 24 Sep 2024 15:08:00 -0700 (PDT) Received: from lightning.caipicrew.dd-dns.de ([2001:a61:aeb:9601:de9f:ad50:75e5:2a8c]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37cbc2cec9dsm2505931f8f.56.2024.09.24.15.07.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Sep 2024 15:08:00 -0700 (PDT) Message-ID: <66f33840.050a0220.1f9e60.7fb9@mx.google.com> X-Google-Original-Message-ID: <20240924220759.GB28794@caipicrew.dd-dns.de;lightning.caipicrew.dd-dns.de> Sender: Michael Banck Received: from mbanck by lightning.caipicrew.dd-dns.de with local (Exim 4.92) (envelope-from ) id 1stDhP-0004ko-7C; Wed, 25 Sep 2024 00:07:59 +0200 Date: Wed, 25 Sep 2024 00:07:59 +0200 From: Michael Banck To: Tom Lane Cc: Christoph Berg , Tommy Pavlicek , Dagfinn Ilmari =?iso-8859-1?Q?Manns=E5ker?= , pgsql-hackers@lists.postgresql.org, Tomas Vondra , jian.universality@gmail.com Subject: Re: [PATCH] Extend ALTER OPERATOR to support adding commutator, negator, hashes, and merges References: <15382.1687519306@sss.pgh.pa.us> <1092363.1695932314@sss.pgh.pa.us> <447166.1696969927@sss.pgh.pa.us> <560086.1698160614@sss.pgh.pa.us> <570833.1698162135@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <570833.1698162135@sss.pgh.pa.us> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On Tue, Oct 24, 2023 at 11:42:15AM -0400, Tom Lane wrote: > Christoph Berg writes: > > Anyway, if this doesn't raise any "oh we didn't think of this" > > concerns, we'll just remove the old operators in pgsphere. > > Well, the idea was exactly to forbid that sort of setup. > However, if we get sufficient pushback maybe we should > reconsider --- for example, maybe it'd be sane to enforce > the restriction in ALTER but not CREATE? > > I'm inclined to wait and see if there are more complaints. FWIW, rdkit also fails, but that seems to be an ancient thing as well: https://github.com/rdkit/rdkit/issues/7843 I guess there's no way to make that error a bit more helpful, like printing out the offenbding SQL command, presumably because we are loding an extension? Michael