Fork me on GitHub
#sql
<
2022-12-14
>
hiredman18:12:47

are you asking a new question? or more details? looks like the thread in #C053AK3F9 covered what can be said with the information you've given

hiredman18:12:46

my guess would be the value you are inserting isn't actually a string, but some kind of date type, and some random process is happening in the postgres jdbc driver to turn it in to a string to insert into the database. you can verify this by adding something like (assert (string? ...)) for the value you are inserting

Abhi Saxena19:12:53

thanks for your response, I verified it's a string but some reason Postgres is parsing to a unexpected text

hiredman19:12:23

how did you verify that it is a string?

Abhi Saxena19:12:19

I tried this - (println (type "2022-10-10"))

hiredman19:12:57

in the place in your program where the insert happens with the actual value being inserted?

Abhi Saxena19:12:22

let me try there as well