First, let me say that I'm really excited about this...
That said, I'm having an issue with copyto though. I keep getting an error:
"'unsafe_column' has no method matching
unsafe_column(::Ptr{Postgres.Libpq.PGresult},::Int64, ::Int32,
::Postgres.Types.PostgresType{UTF8String})"
When I edit results.jl and change the types for modified unsafe_column to
Int64 (col) and Int32 (nrows) it works. I don't know enough to figure out
why Int doesn't work, but specifying Int64 and Int32 does.
Thanks.
Brandon
On Friday, February 19, 2016 at 6:32:54 AM UTC-5, N Carson wrote:
>
> Just published a new Postgres adapter for Julia!
>
> https://github.com/NCarson/Postgres
>
> It is fairly complete but not well tested or optimized.
>
> * Returns results as *DataFrame*.
> * Result interface allows for array, column, or row access.
> * Transaction support.
> * DataFrame can be dumped to database via *copyto*.
> On-the-fly table creation supported.
> * `Ctl-C` cancels queries at the server.
> * *Most* 'plain types' supported by comparable Julia type.
> * Automatic support for user-defined enums and domains.
> Enum type columns automatically converted to *PooledDataArray*.
> * Custom types easily supported by 'injecting' in and out functions.
> * Supports the DBI cursor interface including 'fixed-size' paged cursors.
> * Server errors expose full information via PostgresServerError.
>
>
>
>