Re: enhanced error fields

From: Peter Geoghegan <peter(at)2ndquadrant(dot)com>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: enhanced error fields
Date: 2012-10-08 14:03:03
Message-ID: CAEYLb_Vxq7q=q1sQFMxWyGi4MxaAGf2kESiwadDHjenJ_kyr-w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 20 August 2012 14:09, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> wrote:
> (eelog-2012-08-20.diff)

This patch has the following reference to relerror.c:

"""""""

*** a/src/include/utils/rel.h
--- b/src/include/utils/rel.h
***************
*** 394,397 **** typedef struct StdRdOptions
--- 394,402 ----
extern void RelationIncrementReferenceCount(Relation rel);
extern void RelationDecrementReferenceCount(Relation rel);

+ /* routines in utils/error/relerror.c */

"""""""

Indeed, the new C file has been separately added to a makefile:

! OBJS = assert.o elog.o relerror.o

However, the new file itself does not appear in this patch. Therefore,
the code does not compile. Please post a revision with the new file
included.

--
Peter Geoghegan http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training and Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2012-10-08 14:08:00 Re: BUG #7534: walreceiver takes long time to detect n/w breakdown
Previous Message Tom Lane 2012-10-08 13:54:15 Re: Rethinking placement of latch self-pipe initialization