eulerto / pgquarrel

pgquarrel compares PostgreSQL database schemas (DDL)
BSD 3-Clause "New" or "Revised" License
390 stars 42 forks source link

Add support for function used as table default #49

Open abrkn opened 6 years ago

abrkn commented 6 years ago
create function get_next_id() returns int as ...

create table mytable (id int default get_next_id())
eulerto commented 6 years ago

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

abrkn commented 6 years ago

Great, thanks :-)