Re: support for printing/exporting xml - Mailing list pgsql-patches

From Neil Conway
Subject Re: support for printing/exporting xml
Date
Msg-id 874quejryo.fsf@mailbox.samurai.com
Whole thread Raw
In response to Re: support for printing/exporting xml  (Brian Moore <brianmooreca@yahoo.com>)
List pgsql-patches
Brian Moore <brianmooreca@yahoo.com> writes:
> it's not necessary. i ran tests and the hashtable lookup was faster
> (though not by too much) than the bsearch for the data with which i
> populated the table.

Right -- I'd expect the performance difference between the two to be
pretty negligible for even the largest pg_type catalogs.

So do you agree that using bsearch here is preferable, or no?

-Neil


pgsql-patches by date:

Previous
From: Brian Moore
Date:
Subject: Re: support for printing/exporting xml
Next
From: "Korea PostgreSQL Users' Group"
Date:
Subject: v7.4.1 text_position() patch