pgquarrel icon indicating copy to clipboard operation
pgquarrel copied to clipboard

Add support for function used as table default

Open abrkn opened this issue 6 years ago • 2 comments

create function get_next_id() returns int as ...

create table mytable (id int default get_next_id())

abrkn avatar Apr 18 '18 04:04 abrkn

@abrkn pgquarrel supports it. The problem is that the function is created after the table. I will figure out a way to rearrange them.

eulerto avatar Apr 19 '18 02:04 eulerto

Great, thanks :-)

abrkn avatar Apr 19 '18 03:04 abrkn