Skip to content

Depreciation warnings with Julia 0.5 #50

Description

@s-celles

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions