diff options
author | Siri Hansen <[email protected]> | 2014-04-03 13:29:20 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2014-04-03 13:29:20 +0200 |
commit | 735743f917a21fb89a45726c45240ca62d192001 (patch) | |
tree | 7eb1e4c8e99c70ce79af8a9e3715d37af54d8040 /lib/stdlib/src | |
parent | ab334b945b8ac7c159dec5aa5df9a4d3cc418cb6 (diff) | |
parent | b52458dfbbb6e9a0c9f62dfcd0dd7f9247efa0af (diff) | |
download | otp-735743f917a21fb89a45726c45240ca62d192001.tar.gz otp-735743f917a21fb89a45726c45240ca62d192001.tar.bz2 otp-735743f917a21fb89a45726c45240ca62d192001.zip |
Merge branch 'siri/deprecate-pg/OTP-11840'
* siri/deprecate-pg/OTP-11840:
Deprecate module pg
Diffstat (limited to 'lib/stdlib/src')
-rw-r--r-- | lib/stdlib/src/otp_internal.erl | 4 | ||||
-rw-r--r-- | lib/stdlib/src/pg.erl | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/lib/stdlib/src/otp_internal.erl b/lib/stdlib/src/otp_internal.erl index 971a2e2baa..356eb7ade9 100644 --- a/lib/stdlib/src/otp_internal.erl +++ b/lib/stdlib/src/otp_internal.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 1999-2013. All Rights Reserved. +%% Copyright Ericsson AB 1999-2014. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -577,6 +577,8 @@ obsolete_1(asn1rt, utf8_binary_to_list, 1) -> {deprecated,{unicode,characters_to_list,1}}; obsolete_1(asn1rt, utf8_list_to_binary, 1) -> {deprecated,{unicode,characters_to_binary,1}}; +obsolete_1(pg, _, _) -> + {deprecated,"deprecated; will be removed in OTP 18"}; obsolete_1(_, _, _) -> no. diff --git a/lib/stdlib/src/pg.erl b/lib/stdlib/src/pg.erl index ee177e4e0b..a41fd329c2 100644 --- a/lib/stdlib/src/pg.erl +++ b/lib/stdlib/src/pg.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 1996-2011. All Rights Reserved. +%% Copyright Ericsson AB 1996-2014. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -17,6 +17,7 @@ %% %CopyrightEnd% %% -module(pg). +-deprecated(module). %% pg provides a process group facility. Messages %% can be multicasted to all members in the group |