gregelenbaas / diesel-citext

Diesel support for citext extension
MIT License
11 stars 11 forks source link

Change behaviour to preserve the original string #6

Open afonso360 opened 4 years ago

afonso360 commented 4 years ago

Hello, This PR is a combination of #5 and #4.

I've changed the implementation so that we store only the original string (to avoid consuming double the memory), and lowering before comparison.

This more closely matches the behavior of CITEXT which also preserves case.

evgeni-nabokov commented 1 year ago

It's abandonware.