Add 'justify_*' functions to PostgresModule
Add support for functions justify_days, justify_hours and justify_interval described in the PostgreSQL docs.
- Add function to
PostgresFunctionDefinPostgresModule - Add test in
FunctionDefSpec
I want to give it a try
I'm not sure how to handle postgres interval type. I noticed that someone already started to introduce 'interval' here: https://github.com/zio/zio-sql/pull/295/files I'll wait for that, because I don't want to double the work here.
@jczuchnowski can you guide me a little? I don't know if the approach in linked PR is a good option. Should I implement reading of PGInterval type? I saw that there is a option to add dialect specific types, but I'm not sure how to use that.
This is still an open issue.