Re: [gpoo@ubiobio.cl: Re: [HACKERS] EXPLAIN omits schema?]

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [gpoo@ubiobio.cl: Re: [HACKERS] EXPLAIN omits schema?]
Date: 2007-06-20 15:32:29
Message-ID: 18370.1182353549@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> I am forwarding it to improve the chances of it being delivered ... The
> patch in the fwd is not a nice MIME part but it should work without
> problem anyway.

I'm not sure why anyone would want *both* xml and regular output
produced at once. The patch's treatment of name quoting seems both
inconsistent and highly unlikely to be correct (how does XML deal
with embedded quotes in attribute values, anyway?). The submitter
appears to have no clue about the maintenance details required when
adding a field to a Node struct.

But the big question is: where's the DTD? Has he even tried to design
a sane XML representation, or just emitted whatever was convenient given
the existing code structure? I'm fairly suspicious that a patch that
doesn't rearrange the existing code at all is probably not producing
the ideal XML structure.

regards, tom lane

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Magnus Hagander 2007-06-20 15:43:06 Re: Preliminary GSSAPI Patches
Previous Message Heikki Linnakangas 2007-06-20 13:47:31 Load Distributed Checkpoints, take 3