public inbox for [email protected]  
help / color / mirror / Atom feed
From: Karsten Hilbert <[email protected]>
To: [email protected]
Subject: Re: Plans for 2.8
Date: Fri, 5 Oct 2018 14:16:50 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <CA+mi_8auWr+u4DwLGnu3JOu=jhMAV_8OPnMtMuXOr+0iMN5LgA@mail.gmail.com>
References: <CA+mi_8auWr+u4DwLGnu3JOu=jhMAV_8OPnMtMuXOr+0iMN5LgA@mail.gmail.com>

On Thu, Oct 04, 2018 at 01:38:03PM +0100, Daniele Varrazzo wrote:

> [2] https://github.com/psycopg/psycopg2/blob/master/NEWS
> 
> The feature I'm the most excited about (and worried about its
> reception) is to raise a different exception for every postgres error
> message (see #682).

You needn't as far as I'm concerned because as long as this

> The error classes are [...] subclasses of the previously existing ones

is true there should not be a problem.

Will the new classes still have .pgcode set to their
respective values ?

Thanks,
Karsten
-- 
GPG  40BE 5B0E C98E 1713 AFA6  5BC0 3BEA AC80 7D4F C89B




view thread (8+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Plans for 2.8
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox