pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #12650: user defined exception
3+ messages / 2 participants
[nested] [flat]

* BUG #12650: user defined exception
@ 2015-01-24 10:10 ousema2003@yahoo.fr
  2015-01-24 10:29 ` Re: BUG #12650: user defined exception Pavel Stehule <pavel.stehule@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread

From: ousema2003@yahoo.fr @ 2015-01-24 10:10 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      12650
Logged by:          oussema
Email address:      ousema2003@yahoo.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@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #12650: user defined exception
  2015-01-24 10:10 BUG #12650: user defined exception ousema2003@yahoo.fr
@ 2015-01-24 10:29 ` Pavel Stehule <pavel.stehule@gmail.com>
  2015-01-24 10:47   ` Re: BUG #12650: user defined exception Pavel Stehule <pavel.stehule@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Pavel Stehule @ 2015-01-24 10:29 UTC (permalink / raw)
  To: ousema2003@yahoo.fr; +Cc: 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@yahoo.fr>:

> The following bug has been logged on the website:
>
> Bug reference:      12650
> Logged by:          oussema
> Email address:      ousema2003@yahoo.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@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-bugs
>

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #12650: user defined exception
  2015-01-24 10:10 BUG #12650: user defined exception ousema2003@yahoo.fr
  2015-01-24 10:29 ` Re: BUG #12650: user defined exception Pavel Stehule <pavel.stehule@gmail.com>
@ 2015-01-24 10:47   ` Pavel Stehule <pavel.stehule@gmail.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Pavel Stehule @ 2015-01-24 10:47 UTC (permalink / raw)
  To: ousema2003 <ousema2003@yahoo.fr>; +Cc: pgsql-bugs

2015-01-24 11:29 GMT+01:00 Pavel Stehule <pavel.stehule@gmail.com>:

> Hi
>
> It is not a bug.
>
> For user defined exception should be reserved class 45 .. so you can use a
> SQLCODE 45***
>

and U0 class (U0***) should be reserved for custom exception too.


>
> Regards
>
> Pavel Stehule
>
> 2015-01-24 11:10 GMT+01:00 <ousema2003@yahoo.fr>:
>
>> The following bug has been logged on the website:
>>
>> Bug reference:      12650
>> Logged by:          oussema
>> Email address:      ousema2003@yahoo.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@postgresql.org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-bugs
>>
>
>

^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2015-01-24 10:47 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-01-24 10:10 BUG #12650: user defined exception ousema2003@yahoo.fr
2015-01-24 10:29 ` Pavel Stehule <pavel.stehule@gmail.com>
2015-01-24 10:47   ` Pavel Stehule <pavel.stehule@gmail.com>

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