alaisi / postgres-async-driver

Asynchronous PostgreSQL Java driver
Apache License 2.0
287 stars 38 forks source link

Support NAME data type #43

Open cretz opened 7 years ago

cretz commented 7 years ago

Simply add the NAME oid to the StringConversions and NAME_ARRAY to the array conv. It is used for object names in postgres.

rzeigler commented 6 years ago

I ran into this as well. As a stopgap, I produced a new type wrapper around String to use the user defined type conversion logic and it seems to work fine.

cretz commented 6 years ago

I just did a ::VARCHAR in the query to cast.