Eric Davies

Results 196 comments of Eric Davies
trafficstars

OID's are actually used all over PostgreSQL for many things; in this case, OIDs are being used for denoting the type of the data, which is a very common use....

In https://github.com/JuliaDB/PostgreSQL.jl/blob/master/src/types.jl: - Make a `newpgtype` call (you have to know the OID for the type) - Define a `jldata` method - Define a `pgdata` method `timestamp` is a good...

Hmm I didn't know about this. Well the correct way to handle it would be to change the password argument to a Nullable and pass C_NULL when no password is...

Yup, just involves changing a few method signatures/calls. Give it a shot! :)

`const _IO_FILE = Void` might work, not sure

Current `master` works on 0.4. It looks like `libpq-fe.h` includes `stdio`...maybe Clang.jl has an exclude list now. I ran it a very long time ago.

Please use https://github.com/invenia/LibPQ.jl instead on newer versions of Julia

This is going to need more detailed attention in order to keep compatibility with 0.4

Version detection with aliases sounds like the right way forward to me :)

A good test case: make a string type that doesn't rely on an array of bytes and call `pgdata` with that.