Ryan Vinzent <ryan(dot)vinzent(at)invitae(dot)com> writes:
> I have run into an issue and I'm fairly sure this can be classified as a bug.
More an unimplemented feature ...
> INSERT INTO
> "generated_column_table" ("name", "id_plus_one")
> VALUES
> ('some text', DEFAULT),
> ('other text', DEFAULT);
>
> ERROR: cannot insert into column "id_plus_one"
> DETAIL: Column "id_plus_one" is a generated column.
This works in HEAD, as of
https://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=17958972f
but there hasn't been any discussion of back-patching that.
regards, tom lane