Re: BUG #12650: user defined exception

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: ousema2003(at)yahoo(dot)fr
Cc: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #12650: user defined exception
Date: 2015-01-24 10:29:16
Message-ID: CAFj8pRCtfhZeikk4GGC_n_K0dhZmq6YZGjQcda0+ACD65jROeA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi

It is not a bug.

For user defined exception should be reserved class 45 .. so you can use a
SQLCODE 45***

Regards

Pavel Stehule

2015-01-24 11:10 GMT+01:00 <ousema2003(at)yahoo(dot)fr>:

> The following bug has been logged on the website:
>
> Bug reference: 12650
> Logged by: oussema
> Email address: ousema2003(at)yahoo(dot)fr
> PostgreSQL version: 9.3.0
> Operating system: linux x86 64
> Description:
>
> > what's the range of sqlstate that i can use for the user defined
> exception
> > e.g :
> > In oracle the range is [20000..20999])
> > so what's the similar one in postgresql
>
>
> --
> Sent via pgsql-bugs mailing list (pgsql-bugs(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-bugs
>

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Pavel Stehule 2015-01-24 10:47:00 Re: BUG #12650: user defined exception
Previous Message ousema2003 2015-01-24 10:10:50 BUG #12650: user defined exception