function_name(...)` or :sql:`CALL procedure_name(...)` instead.
+.. _diff-client-encoding:
+
+``client_encoding`` is gone
+---------------------------
+
+Psycopg uses automatically the database client encoding to decode data to
+Unicode strings. Use `ConnectionInfo.encoding` if you need to read the
+encoding. You can select an encoding at connection time using the
+``client_encoding`` connection parameter and you can change the encoding of a
+connection by running a :sql:`SET client_encoding` statement... But why would
+you?
+
+
What's new in Psycopg 3
-----------------------
+.. currentmodule:: psycopg
+
.. index::
single: Release notes
single: News
^^^^^^^^^^^^^
- Add :ref:`adapt-shapely` (:ticket:`#80`).
-- Add `psycopg.pq.__build_version__` constant.
+- Add `pq.__build_version__` constant.
- Don't use the extended protocol with COPY, (:tickets:`#78, #82`).
-- Add *context* parameter to `~psycopg.Connection.connect()` (:ticket:`#83`).
-- Fix selection of dumper by oid after `~psycopg.Copy.set_types()`.
+- Add *context* parameter to `~Connection.connect()` (:ticket:`#83`).
+- Fix selection of dumper by oid after `~Copy.set_types()`.
+- Drop `!Connection.client_encoding`. Use `ConnectionInfo.encoding` to read
+ it, and a :sql:`SET` statement to change it.
psycopg 3.0b1