I don't think the PostgreSQL.jl package was ever officially registered. You
could try Pkg.clone("https://github.com/JuliaDB/PostgreSQL.jl";) to manually
download/install it; you may need to do Pkg.build("PostgreSQL") as well
after cloning. Alternatively, you might try the latest master of
https://github.com/JuliaDB/ODBC.jl for interacting with databases.

-Jacob

On Tue, May 3, 2016 at 4:19 PM, Boylan, Ross <[email protected]> wrote:

> Am I misunderstanding how things work?  Is the package only available for
> julia 0.3?
> I have a julia obtained via git a few days ago, on the release-0.4 branch
> and built locally.
> Seeing https://github.com/JuliaDB/PostgreSQL.jl I tried, from within an
> ESS session,
> julia> Pkg.add("PostgreSQL")
>  ERROR: unknown package PostgreSQL
>   in error at ./error.jl:21
>   [inlined code] from pkg/entry.jl:49
>   in anonymous at task.jl:447
>   in sync_end at ./task.jl:413
>   [inlined code] from task.jl:422
>   in add at pkg/entry.jl:64
>   in add at pkg/entry.jl:73
>   in anonymous at pkg/dir.jl:31
>   in cd at file.jl:22
>   in cd at pkg/dir.jl:31
>   in add at pkg.jl:23
>
> To see if this was a spelling mistake:
> julia> Pkg.add("PostgresSQL")
>  ERROR: unknown package PostgresSQL
> ...
>
> I was able to add the DataFrames package and dependencies.
>
> This is on a current Debian system, amd64 architecture.

Reply via email to