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

create_range_partitions ERROR: integer out of range #39

Closed
kataev opened this issue Oct 10, 2016 · 1 comment
Closed

create_range_partitions ERROR: integer out of range #39

kataev opened this issue Oct 10, 2016 · 1 comment
Labels
Milestone

Comments

@kataev
Copy link

kataev commented Oct 10, 2016

I have a error

snip=# select create_range_partitions('snip', 'build_id', 1, 5);
ERROR:  integer out of range
CONTEXT:  PL/pgSQL function create_range_partitions(regclass,text,anyelement,anyelement,integer,boolean) line 27 at EXECUTE

I fink problem in this place v_rows_count declared as INTEGER, but count(*) can return bigint value.

@funbringer
Copy link
Collaborator

to @kataev,

Nice catch, thanks! Pushed a fix to rel_1_1_beta, the release is on its way. I think it will be available this week.

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

No branches or pull requests

2 participants