Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bpwaU-00045N-LQ for pgsql-bugs@arkaria.postgresql.org; Fri, 30 Sep 2016 12:06:46 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bpwaU-00042i-8D for pgsql-bugs@arkaria.postgresql.org; Fri, 30 Sep 2016 12:06:46 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bpwTq-0006qx-CP for pgsql-bugs@postgresql.org; Fri, 30 Sep 2016 11:59:54 +0000 Received: from mail.hemio.de ([144.76.93.186]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bpwTn-00039u-Fm for pgsql-bugs@postgresql.org; Fri, 30 Sep 2016 11:59:52 +0000 Received: from user.client.invalid (localhost [144.76.93.186]) by mail.hemio.de (Postfix) with ESMTPSA id 047B670 for ; Fri, 30 Sep 2016 13:59:48 +0200 (CEST) Date: Fri, 30 Sep 2016 13:59:47 +0200 From: Michael Herold Subject: COMMENT ON INDEX silently fails To: pgsql-bugs@postgresql.org Message-Id: <1475236787.15450.0@mail.hemio.de> X-Mailer: geary/0.11.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed X-Pg-Spam-Score: -7.2 (-------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The statement COMMENT ON INDEX object_name IS '...' does not fail if object_name is a table constraint. However, it does not seem to have any effect. I think the statement should either fail or create the respective comment. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs