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

Insert always reports 0 rows inserted #28

Closed
RobAtticus opened this issue Apr 26, 2017 · 0 comments
Closed

Insert always reports 0 rows inserted #28

RobAtticus opened this issue Apr 26, 2017 · 0 comments
Labels

Comments

@RobAtticus
Copy link
Member

RobAtticus commented Apr 26, 2017

Reproduce:

CREATE TABLE tt(c timestamp with time zone);
SELECT create_hypertable('tt', 'c');
INSERT INTO tt VALUES('2016-11-15 17:30:00+05:30');
INSERT 0 0

Result should be
INSERT 0 1

@RobAtticus RobAtticus added the bug label Apr 26, 2017
cevian added a commit that referenced this issue May 3, 2017
Previously, an INSERT on a hypertable would always return
INSERT 0 0 as the command tag. This makes it return the proper
number of items inserted for the second number. Fixes #28.
cevian added a commit that referenced this issue May 4, 2017
Previously, an INSERT on a hypertable would always return
INSERT 0 0 as the command tag. This makes it return the proper
number of items inserted for the second number. Fixes #28.
@cevian cevian closed this as completed in #34 May 4, 2017
cevian added a commit that referenced this issue May 4, 2017
Previously, an INSERT on a hypertable would always return
INSERT 0 0 as the command tag. This makes it return the proper
number of items inserted for the second number. Fixes #28.
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

1 participant