Re: schema_to_xmlschema() seems a bit less than finished

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Sibte Abbas" <sibtay(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: schema_to_xmlschema() seems a bit less than finished
Date: 2007-07-13 04:26:22
Message-ID: 6385.1184300782@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Sibte Abbas" <sibtay(at)gmail(dot)com> writes:
> Considering the above fact, perhaps the actual problem is that when a
> column gets removed from a table as a result of drop <column
> type/domain> cascade, the tuple descriptor (more specifically
> rel->rd_att field) for that relation is not updated properly?

No, the problem is that map_sql_typecoll_to_xmlschema_types is unaware
that it must ignore dropped columns :-(. I committed a fix a few
minutes ago.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-07-13 05:19:13 Re: compiler warnings on the buildfarm
Previous Message Sibte Abbas 2007-07-13 04:23:26 Re: schema_to_xmlschema() seems a bit less than finished