Leon P Smith

Results 259 comments of Leon P Smith

I second Reid. Also, I prefer that `FromField` instances provided with `postgresql-simple` reflect the type(s) they support with as full fidelity as possible. IIRC, the money type is also tagged...

Also keep in mind there is no type checking or anything on `ToField` instances in postgresql-simple.

Yeah, I looked at that issue once and run into trouble myself. I don't recall the specifics, but I recall I wasn't overly pleased with postgres's handling of the numeric...

Well, I'm going to guess that aa96786e7bb98d75ba4c220ecf57e17c38f843fb and 1a390f5e1129edae493605a4101098eb844a58a7 triggered the problem you are seeing. I feel pretty confident about that guess. The true cause of the problem seems to...

Here's an idea, have you actually been able to use vanilla `postgresql-libpq` to successfully connect to a database? And are you using `libpq` 9.0 or later? #113 looks exactly the...

Ok, if `postgresql-libpq` does turn out to be a problem, you may or may not find #66 to be helpful in getting it to work. If this is the problem,...

Yeah, I'm pretty sure that's causing the postgresql-simple compilation error. As to what's causing this error, I dunno. Where did you get the libpq object code you are using? Did...

Oh, no problem. I am happy you got it working, and I am aware that a number of people have had trouble with postgresql-libpq on Windows. =)

Ok, inspired partly by this report and several other similar reports, I did open up lpsmith/postgresql-libpq#20 and lpsmith/postgresql-libpq#21 to help avoid/diagnose these problems in the future.

This looks interesting, but for starters, why are you making a (Maybe Oid) everywhere? And I hate to say it, but we probably want to use a sentinel Oid for...