Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hYall-0001Hm-Fc for pgsql-bugs@arkaria.postgresql.org; Wed, 05 Jun 2019 18:36:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hYalk-00004w-5x for pgsql-bugs@arkaria.postgresql.org; Wed, 05 Jun 2019 18:36:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hYalj-0008WP-UC for pgsql-bugs@lists.postgresql.org; Wed, 05 Jun 2019 18:36:15 +0000 Received: from mail-qt1-x843.google.com ([2607:f8b0:4864:20::843]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hYalb-0000cP-Bh for pgsql-bugs@lists.postgresql.org; Wed, 05 Jun 2019 18:36:15 +0000 Received: by mail-qt1-x843.google.com with SMTP id i34so5777597qta.6 for ; Wed, 05 Jun 2019 11:36:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=M63Aceev5OR5vyThcg49BgCQhJJxeNXoT0RtCrNyzTI=; b=Pl1UcHisTZl6pkXk0e+4T7IKB0DNcmy+ulYyqHnF5F/5pyQW1pePYpYlw8UUKBjBN6 EvtFAI5w17uVJiI6Da/fbKXEJpNmDtkYx1BTo5uMfoM5Cp9u746/zoeXC5cchI/O/wrk DwbKdFmBBmUoi7mg7qcwZaz3jTRu0qmFE3dRj+ZCDwv4IbtENjPUJXd5J/mmv4Qm5eK4 sQDl90LhmqbDzsEqRRt0D4Znsjhkek8DS54IBzV8xJx96Djrp+4DjVQ93pSX4eJ4REOg N3OmQRfe1B/q12UP6eyNlpzTZBCa4yA0uYB9RSCx4wTfI8VZr3cfZFvEvUhO/j8ae7Jo C0Qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=M63Aceev5OR5vyThcg49BgCQhJJxeNXoT0RtCrNyzTI=; b=GmdXhdwB9zm7pmg9NSr8yFHN7Avd9EgpOMBT/ZNrz+Vud98TX9QeEG7CmGCd5FQzSO tJMXjaMOphfcEf2Yx3Zi8uk8O5aqA6hRJWSKJIBzYPX8inIpWVKA8rjY6Lqi+vPOe/JG 1YfDLiuhB2Nk/O/kboRInYhlp6rXRG6/07wiZwfcurPnTeNVf1aCkOJmiELp9PLjzInG /hnn8kiQrvaZRMs2Aqyqu9LmE0Q0KtS3SVwnmjKL4Xb3sOfNxjOAWKU1sBkdUvhA/0J+ tf1natZl3042VRw7mWwx/fQ6j3AGqxGSYjjHiL5GZPgai31CKnFIOh7O4m9COuKR/4Aq z1Rw== X-Gm-Message-State: APjAAAUnpdmA58i9Fsm7TR7aFytsqo1UcGT7cw+Qy2ayKmL1V959BMNO TZ6emfs9LAc7S5wiOspNMGQqqKEHHP3sGw== X-Google-Smtp-Source: APXvYqwaRIa2Mz5WWlMew0Ne/Wdhs259zow9GQA4bAhEwI2y4MjcCTWxbEmEJVXid+D+QGSt8kO36w== X-Received: by 2002:ac8:275a:: with SMTP id h26mr17334635qth.345.1559759765402; Wed, 05 Jun 2019 11:36:05 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([177.154.139.202]) by smtp.gmail.com with ESMTPSA id j37sm12915430qtb.76.2019.06.05.11.36.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 05 Jun 2019 11:36:05 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id BA85C12099B; Wed, 5 Jun 2019 14:36:00 -0400 (-04) Date: Wed, 5 Jun 2019 14:36:00 -0400 From: Alvaro Herrera To: Dmytry Strikha Cc: Tom Lane , pgsql-bugs@lists.postgresql.org Subject: Re: Indexes on expressions that include user-defined functions are not reindexed when the function definition is changed Message-ID: <20190605183600.GA11763@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-May-29, Dmytry Strikha wrote: > Could this get a special mention in the documentation for Indexes on > expressions? Most unfamiliar users will look there to figure out the > correct way to create the index and will be at least warned. That sounds reasonable. Care to submit a patch? -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services