<repo>
so not sure, could be that the to_sql method is giving me just a text reprensentation of the actual query
<raz>
both crystal-db and crystal-pg are unfortunately still riddled with problems (conn pool fails under various conditions, prep statements mem leak etc.) . wouldn't be surprised if they haven't gotten to fully test with pg12 yet
<repo>
mmh
<FromGitter>
<tenebrousedge> sounds rough :/
<FromGitter>
<tenebrousedge> is there a PG12 feature you need?
<raz>
it was when i last tried :( but it's being worked on i think
<repo>
teardown: no
<repo>
tenebrousedge:
<repo>
i can use 11
<FromGitter>
<tenebrousedge> :plus1:
<repo>
but it's obviously not a solution :D
<repo>
just a workaround
<raz>
maybe try filing a ticket on crystal-pg
<raz>
perhaps it's an easy fix - and in any case they should be made aware of it :)
<raz>
in their defense, pg is really pumpin' out those major versions lately
<raz>
we had 9.x for 7 years
<raz>
and now they bump it up ever year
_ht has joined #crystal-lang
<FromGitter>
<straight-shoota> repo, what makes you think this isssue is with psql 12 only?
<FromGitter>
<straight-shoota> Did you actually test the query on 11? I doubt it would work there either.
osp has joined #crystal-lang
_whitelogger has joined #crystal-lang
_ht has quit [Remote host closed the connection]
_ht has joined #crystal-lang
sagax has quit [Ping timeout: 248 seconds]
osp has quit [Quit: Leaving]
<sorcus>
Crystal has `promise` in stdlib like JS Promise?
Flipez has quit [Read error: Connection reset by peer]
Flipez2 has joined #crystal-lang
coderobe3 has joined #crystal-lang
coderobe has quit [Read error: Connection reset by peer]
coderobe3 is now known as coderobe
ur5us has joined #crystal-lang
<Stephie>
future has been a bit neglected though
<Stephie>
would be nice if it had a bit of a rework
<raz>
ohhh that looks handy <3
<raz>
how is it neglected, you mean the internal impl?
<raz>
lazy() looks neat too. i gotta find me some excuses to use them
Xeago_ has joined #crystal-lang
masterdonx2 has joined #crystal-lang
Xeago has quit [Ping timeout: 268 seconds]
Xeago_ is now known as Xeago
MasterdonX has quit [Read error: Connection reset by peer]
repo has quit [Ping timeout: 268 seconds]
repo has joined #crystal-lang
<FromGitter>
<watzon> Future doesn't work great if you're looking for something like JS promises, and unfortunately neither do any of the current promise implementations
ur5us has quit [Ping timeout: 245 seconds]
<FromGitter>
<tenebrousedge> js 😬
ur5us has joined #crystal-lang
<raz>
hum. but why would anyone look for anything JS to begin with?
<raz>
in languages with an actual concurrency model promises can be a convenience for certain special cases. in JS they're merely the least horrible syntax available to do concurrency at all. ¯\_(ツ)_/¯