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

Decimal is not supported on SELECT but ok on CREATE TABLE #186

Closed
NoyException opened this issue Nov 21, 2024 · 1 comment · Fixed by #211
Closed

Decimal is not supported on SELECT but ok on CREATE TABLE #186

NoyException opened this issue Nov 21, 2024 · 1 comment · Fixed by #211
Labels
bug Something isn't working

Comments

@NoyException
Copy link
Contributor

Connect with psql. The log is as follows.

main=> create table test (pk int, value int, d1 decimal(4,2), c1 char(10), primary key(pk));
CREATE TABLE
main=> insert into test (pk, value, d1, c1) values (0,1,2.3,'hi');
INSERT 0 1
main=> select * from test;
ERROR:  unsupported type DECIMAL(4,2) (errno 1105) (sqlstate HY000)
@NoyException NoyException added the bug Something isn't working label Nov 21, 2024
@fanyang01
Copy link
Collaborator

Yeah, the Postgres protocol side does not support DECIMAL yet. I will address this issue today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants