Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1druu9-0006Yf-Mc for pgsql-bugs@arkaria.postgresql.org; Tue, 12 Sep 2017 23:47:45 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1druu9-0000up-1H for pgsql-bugs@arkaria.postgresql.org; Tue, 12 Sep 2017 23:47:45 +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 1druu8-0000uW-Cn for pgsql-bugs@postgresql.org; Tue, 12 Sep 2017 23:47:44 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1druu5-0006SO-N7 for pgsql-bugs@postgresql.org; Tue, 12 Sep 2017 23:47:43 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v8CNldsJ031138; Tue, 12 Sep 2017 19:47:39 -0400 From: Tom Lane To: "David G. Johnston" cc: zam6ak@gmail.com, Peter Eisentraut , "pgsql-bugs@postgresql.org" Subject: Re: BUG #14813: pg_get_serial_sequence does not return seqence name for IDENTITY columns In-reply-to: References: <20170912212054.25640.55202@wrigleys.postgresql.org> Comments: In-reply-to "David G. Johnston" message dated "Tue, 12 Sep 2017 14:54:45 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <31136.1505260059.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Tue, 12 Sep 2017 19:47:39 -0400 Message-ID: <31137.1505260059@sss.pgh.pa.us> 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 "David G. Johnston" writes: > On Tue, Sep 12, 2017 at 2:20 PM, wrote: >> Function pg_get_serial_sequence returns NULL on columns defined as >> IDENTITY This seems like a reasonable complaint to me. > ​I suspect this is an opportunity for documentation enhancement as opposed > to a bug. The reason appears to be that the dependency setup for a sequence created to support IDENTITY is randomly different from that for a serial sequence. I'm not sure this is a good thing. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs