[PATCH] Patch for more verbose error reporting in pl/tcl

Поиск
Список
Период
Сортировка
Искать

[PATCH] Patch for more verbose error reporting in pl/tcl

От:
Vsevolod Lobko <seva@sevasoft.kiev.ua>
Дата:
Вложения:
  This patch adds reporting of tcl global variable errorInfo
which contains stack trace.
  One problem, after this patch errors will generate multiline ERROR
messages. Is it acceptable or do I need split it and generate multiple
singleline messages?

Re: [PATCH] Patch for more verbose error reporting in

От:
Vsevolod Lobko <seva@sevasoft.kiev.ua>
Дата:
Previous patch has problems with 8-bit characters :))
Attached corrected version.

On Wed, 3 Oct 2001, Vsevolod Lobko wrote:

>   This patch adds reporting of tcl global variable errorInfo
> which contains stack trace.
>   One problem, after this patch errors will generate multiline ERROR
> messages. Is it acceptable or do I need split it and generate multiple
> singleline messages?

Multiline messages was used in pltcl.c already, so I think this is
acceptable.


Re: [PATCH] Patch for more verbose error reporting in

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Vsevolod Lobko  writes:
> Previous patch has problems with 8-bit characters :))
> Attached corrected version.

Um, no sign of the attachment?

>> One problem, after this patch errors will generate multiline ERROR
>> messages. Is it acceptable or do I need split it and generate multiple
>> singleline messages?

No, that's okay.

			regards, tom lane

Re: [PATCH] Patch for more verbose error reporting in pl/tcl

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:

Multi-line error messages are fine.

Your patch has been added to the PostgreSQL unapplied patches list at:

	http://candle.pha.pa.us/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

>   This patch adds reporting of tcl global variable errorInfo
> which contains stack trace.
>   One problem, after this patch errors will generate multiline ERROR
> messages. Is it acceptable or do I need split it and generate multiple
> singleline messages?

Content-Description: 

[ Attachment, skipping... ]

> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
> 
> http://archives.postgresql.org

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Re: [PATCH] Patch for more verbose error reporting in

От:
Vsevolod Lobko <seva@sevasoft.kiev.ua>
Дата:
Вложения:
On Wed, 3 Oct 2001, Tom Lane wrote:

> Vsevolod Lobko  writes:
> > Previous patch has problems with 8-bit characters :))
> > Attached corrected version.
>
> Um, no sign of the attachment?

Now really attached

Re: [PATCH] Patch for more verbose error reporting in

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:

Your patch has been added to the PostgreSQL unapplied patches list at:

	http://candle.pha.pa.us/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

> On Wed, 3 Oct 2001, Tom Lane wrote:
> 
> > Vsevolod Lobko  writes:
> > > Previous patch has problems with 8-bit characters :))
> > > Attached corrected version.
> >
> > Um, no sign of the attachment?
> 
> Now really attached

Content-Description: 

[ Attachment, skipping... ]

> 
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Re: [PATCH] Patch for more verbose error reporting in pl/tcl

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:

Newer version applied.  Thanks.

>   This patch adds reporting of tcl global variable errorInfo
> which contains stack trace.
>   One problem, after this patch errors will generate multiline ERROR
> messages. Is it acceptable or do I need split it and generate multiple
> singleline messages?

Content-Description: 

[ Attachment, skipping... ]

> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
> 
> http://archives.postgresql.org

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Re: [PATCH] Patch for more verbose error reporting in

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:

This is the one I applied.


> On Wed, 3 Oct 2001, Tom Lane wrote:
> 
> > Vsevolod Lobko  writes:
> > > Previous patch has problems with 8-bit characters :))
> > > Attached corrected version.
> >
> > Um, no sign of the attachment?
> 
> Now really attached

Content-Description: 

[ Attachment, skipping... ]

> 
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
FAQ