Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Depreciation warnings with Julia 0.5 #50

Open
s-celles opened this issue Apr 17, 2017 · 0 comments
Open

Depreciation warnings with Julia 0.5 #50

s-celles opened this issue Apr 17, 2017 · 0 comments

Comments

@s-celles
Copy link

With Julia 0.5

julia> using PostgreSQL

shows a lot of depreciation warnings

WARNING: `@osx_only` is deprecated, use `@static if is_apple()` instead
WARNING: symbol is deprecated, use Symbol instead.
WARNING: Method definition scanf(Any) in module libpq_interface at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/v0.5/PostgreSQL/src/libpq_common.jl:4 overwritten at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/v0.5/PostgreSQL/src/libpq_common.jl:4.
WARNING: Method definition sscanf(Any, Any) in module libpq_interface at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/v0.5/PostgreSQL/src/libpq_common.jl:4 overwritten at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/v0.5/PostgreSQL/src/libpq_common.jl:4.
WARNING: Base.ASCIIString is deprecated, use String instead.
  likely near /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/v0.5/PostgreSQL/src/types.jl:36
WARNING: Base.UTF8String is deprecated, use String instead.
  likely near /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/v0.5/PostgreSQL/src/types.jl:36
WARNING: Base.ByteString is deprecated, use String instead.
  likely near /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/v0.5/PostgreSQL/src/types.jl:154
WARNING: Method definition convert(Type{PostgreSQL.PostgresType}, Type{String}) in module PostgreSQL at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/v0.5/PostgreSQL/src/types.jl:21 overwritten at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/v0.5/PostgreSQL/src/types.jl:21.
WARNING: Method definition convert(Type{PostgreSQL.PostgresType}, Type{Base.Dict{AbstractString, Any}}) in module PostgreSQL at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/v0.5/PostgreSQL/src/types.jl:21 overwritten at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/v0.5/PostgreSQL/src/types.jl:21.
WARNING: Method definition convert(Type{PostgreSQL.PostgresType}, Type{Array{String, 1}}) in module PostgreSQL at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/v0.5/PostgreSQL/src/types.jl:21 overwritten at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/v0.5/PostgreSQL/src/types.jl:21.
WARNING: Method definition convert(Type{PostgreSQL.PostgresType}, Type{Array{String, 1}}) in module PostgreSQL at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/v0.5/PostgreSQL/src/types.jl:21 overwritten at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/v0.5/PostgreSQL/src/types.jl:21.
WARNING: Method definition convert(Type{PostgreSQL.PostgresType}, Type{Array{String, 1}}) in module PostgreSQL at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/v0.5/PostgreSQL/src/types.jl:21 overwritten at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/v0.5/PostgreSQL/src/types.jl:21.
WARNING: Method definition pgdata(Type{PostgreSQL.PostgresType{:_varchar}}, Ptr{UInt8}, Array{String, 1}) in module PostgreSQL at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/v0.5/PostgreSQL/src/types.jl:216 overwritten at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/v0.5/PostgreSQL/src/types.jl:220.
WARNING: Method definition pgdata(Type{PostgreSQL.PostgresType{:_text}}, Ptr{UInt8}, Array{String, 1}) in module PostgreSQL at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/v0.5/PostgreSQL/src/types.jl:224 overwritten at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/v0.5/PostgreSQL/src/types.jl:228.
WARNING: Method definition connect(Type{PostgreSQL.Postgres}) in module PostgreSQL at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/v0.5/PostgreSQL/src/dbi_impl.jl:9 overwritten at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/v0.5/PostgreSQL/src/dbi_impl.jl:36.

Related issue: JuliaDatabases/DBInterface.jl#14

@s-celles s-celles changed the title Depreciation warning with Julia 0.5 Depreciation warnings with Julia 0.5 Apr 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant