Closed Paul-James closed 9 years ago
This is a quick fix to bring the PostgreSQL package up to date with Julia v0.4. Using None was depreciated in favor of Union{} (an empty set).
None
Union{}
This simple fix prevents a couple depreciation warnings:
_ _ _ _(_)_ | A fresh approach to technical computing (_) | (_) (_) | Documentation: http://docs.julialang.org _ _ _| |_ __ _ | Type "?help" for help. | | | | | | |/ _` | | | | |_| | | | (_| | | Version 0.4.0 (2015-10-08 06:20 UTC) _/ |\__'_|_|_|\__'_| | Official http://julialang.org/ release |__/ | x86_64-apple-darwin13.4.0 julia> using PostgreSQL WARNING: Base.None is deprecated, use Union{} instead. likely near /Users/pjames/.julia/v0.4/PostgreSQL/src/libpq_common.jl:53 WARNING: Base.None is deprecated, use Union{} instead. likely near /Users/pjames/.julia/v0.4/PostgreSQL/src/libpq_common.jl:53 julia>
Don't know how I missed this. Thanks!
This is a quick fix to bring the PostgreSQL package up to date with Julia v0.4. Using
None
was depreciated in favor ofUnion{}
(an empty set).This simple fix prevents a couple depreciation warnings: