-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
sql: int4 support #12481
Comments
We support |
We are already subtly broken here: postegres:
cockroach:
This is happening because Postgres leaves that number as an "integer" (32-bits), resulting in shifting away of a 1 in the high bit. |
I vote we move this issue to the 1.1 milestone because I think it'll be hard to tackle it correctly in 2 days before the feature freeze. |
Well, this is apparently a compatibility issue that a user has encountered, so we may have to provide a bug fix before 1.1 if it becomes a blocker. |
potential startup project for masha. |
See also #14493, which if solved could be a potentially more holistic solution for this kind of thing. |
with postgres support of numerical types. Before this change we didn't support any of the types mentioned above. After this change we'll support those types as alias and we will check for overflow on INSERT and UPDATE. We currently won't support type checking on mathematical operations, inline with how decimals are currently implemented. Support for those operations would require a change to Datums, which is outside of the scope for this change. Closes cockroachdb#12481 Closes cockroachdb#14493
with postgres support of numerical types. Before this change we didn't support any of the types mentioned above. After this change we'll support those types as alias and we will check for overflow on INSERT and UPDATE. We currently won't support type checking on mathematical operations, inline with how decimals are currently implemented. Support for those operations would require a change to Datums, which is outside of the scope for this change. Closes cockroachdb#12481 Closes cockroachdb#14493
with postgres support of numerical types. Before this change we didn't support any of the types mentioned above. After this change we'll support those types as alias and we will check for overflow on INSERT and UPDATE. We currently won't support type checking on mathematical operations, inline with how decimals are currently implemented. Support for those operations would require a change to Datums, which is outside of the scope for this change. Closes cockroachdb#12481 Closes cockroachdb#14493
with postgres support of numerical types. Before this change we didn't support any of the types mentioned above. After this change we'll support those types as alias and we will check for overflow on INSERT and UPDATE. We currently won't support type checking on mathematical operations, inline with how decimals are currently implemented. Support for those operations would require a change to Datums, which is outside of the scope for this change. Closes cockroachdb#12481 Closes cockroachdb#14493
with postgres support of numerical types. Before this change we didn't support any of the types mentioned above. After this change we'll support those types as alias and we will check for overflow on INSERT and UPDATE. We currently won't support type checking on mathematical operations, inline with how decimals are currently implemented. Support for those operations would require a change to Datums, which is outside of the scope for this change. Closes cockroachdb#12481 Closes cockroachdb#14493
with postgres support of numerical types. Before this change we didn't support any of the types mentioned above. After this change we'll support those types as alias and we will check for overflow on INSERT and UPDATE. We currently won't support type checking on mathematical operations, inline with how decimals are currently implemented. Support for those operations would require a change to Datums, which is outside of the scope for this change. Closes cockroachdb#12481 Closes cockroachdb#14493
with postgres support of numerical types. Before this change we didn't support any of the types mentioned above. After this change we'll support those types as alias and we will check for overflow on INSERT and UPDATE. We currently won't support type checking on mathematical operations, inline with how decimals are currently implemented. Support for those operations would require a change to Datums, which is outside of the scope for this change. Closes cockroachdb#12481 Closes cockroachdb#14493
with postgres support of numerical types. Before this change we didn't support any of the types mentioned above. After this change we'll support those types as alias and we will check for overflow on INSERT and UPDATE. We currently won't support type checking on mathematical operations, inline with how decimals are currently implemented. Support for those operations would require a change to Datums, which is outside of the scope for this change. Closes cockroachdb#12481 Closes cockroachdb#14493
with postgres support of numerical types. Before this change we didn't support any of the types mentioned above. After this change we'll support those types as alias and we will check for overflow on INSERT and UPDATE. We currently won't support type checking on mathematical operations, inline with how decimals are currently implemented. Support for those operations would require a change to Datums, which is outside of the scope for this change. Closes cockroachdb#12481 Closes cockroachdb#14493
with postgres support of numerical types. Before this change we didn't support any of the types mentioned above. After this change we'll support those types as alias and we will check for overflow on INSERT and UPDATE. We currently won't support type checking on mathematical operations, inline with how decimals are currently implemented. Support for those operations would require a change to Datums, which is outside of the scope for this change. Closes cockroachdb#12481 Closes cockroachdb#14493
with postgres support of numerical types. Before this change we didn't support any of the types mentioned above. After this change we'll support those types as alias and we will check for overflow on INSERT and UPDATE. We currently won't support type checking on mathematical operations, inline with how decimals are currently implemented. Support for those operations would require a change to Datums, which is outside of the scope for this change. Closes cockroachdb#12481 Closes cockroachdb#14493
Current build information:
Build Tag: beta-20161215
Build Time: 2016/12/15 15:10:48
Platform: linux amd64
Go Version: go1.7.3
C Compiler: gcc 4.9.2
Hello, I’m trying to replace MySQL/PostgreSQL with CockroachDB for RunDeck (http://rundeck.org/). Having issues with “int4” and “create sequence”. Would it be possible to add an alias for int4 (similar to what you have for int8) and “create_sequence” support. Here are my logs when trying to start rundeck daemon => http://pastebin.com/yMqJGEUd
Relevant lines:
2016-12-17 09:08:14,570 [main] ERROR hbm2ddl.SchemaUpdate - ERROR: syntax error at or near "int4"
2016-12-17 09:08:14,952 [main] ERROR hbm2ddl.SchemaUpdate - HHH000388: Unsuccessful: create sequence hibernate_sequence
The text was updated successfully, but these errors were encountered: