Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for function used as table default #49

Open
abrkn opened this issue Apr 18, 2018 · 2 comments
Open

Add support for function used as table default #49

abrkn opened this issue Apr 18, 2018 · 2 comments

Comments

@abrkn
Copy link

abrkn commented Apr 18, 2018

create function get_next_id() returns int as ...

create table mytable (id int default get_next_id())
@eulerto
Copy link
Owner

eulerto commented Apr 19, 2018

@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
Copy link
Author

abrkn commented Apr 19, 2018

Great, thanks :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants