"David G. Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> writes:
> On Tue, Sep 12, 2017 at 2:20 PM, <zam6ak(at)gmail(dot)com> 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