Will Leinweber

Results 108 comments of Will Leinweber

Add `?auth_methods=cleartext` to the end of your connection url. It'a also in the readme https://github.com/will/crystal-pg#authentication-methods

> It may be a good idea to add this to the docs somewhere. @ArtLinkov Would you be able to open a PR for the readme? There is a related...

Thanks for putting this together. I'm not available for a couple of days, but I'll take a look at this next week and give feedback then :)

I need to think more on your questions. I'm at a postgres conf this week (and giving a talk including the protocol parts of this project 😀), so I'll dive...

Hey @bjeanes did you have any progress on the other approach?

Yeah, this is still a project. I think the only way for any sort of extension data type where the oid changes from database to database will require a per-connection...

Thanks for the patch. I'm on a couple of cross country fights tomorrow (actually to go speak about crystal), so I should have enough down time to check out this...

I updated my previous benchmark of various byte swapping methods https://gist.github.com/will/c348bf90a7cbd7e93fd0 to include going through the NetworkEndian interface, and it's quite a bit slower. ``` $ crystal run --release byte_swap.cr...

@greenbigfrog thanks. I'm curious though why you said it requires #131?

The new patch has a travis failure @greenbigfrog ``` 1) PG::Numeric to_big_d Invalid BigDecimal: -9.0e-5 (Unexpected 'e' character) /usr/share/crystal/src/big/big_decimal.cr:0:9 in 'initialize' /usr/share/crystal/src/big/big_decimal.cr:78:5 in 'initialize' /usr/share/crystal/src/big/big_decimal.cr:77:3 in 'new' /numeric_spec.cr:14:3 in 'bd'...