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

write value Nan error #172

Open
nuage32 opened this issue Mar 31, 2023 · 0 comments
Open

write value Nan error #172

nuage32 opened this issue Mar 31, 2023 · 0 comments
Assignees

Comments

@nuage32
Copy link

nuage32 commented Mar 31, 2023

insert NaN error:

2023-03-29 18:27:55.398 CST [654503] new@new ERROR: column "nan" does not exist at character 30483

insert into products (price) values(NaN)

in database:
Table "public.products"
Column | Type | Collation | Nullable | Default
--------+---------+-----------+----------+--------------------------------------
id | integer | | not null | nextval('products_id_seq'::regclass)
price | numeric | | |

insert into products (price) values(NaN);

ERROR: column "nan" does not exist
LINE 1: insert into products (price) values(NaN);
^

insert into products (price) values('NaN');

INSERT 0 1

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

No branches or pull requests

2 participants