Re: support for printing/exporting xml

From: Neil Conway <neilc(at)samurai(dot)com>
To: Brian Moore <brianmooreca(at)yahoo(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: support for printing/exporting xml
Date: 2004-01-29 11:11:54
Message-ID: 873c9zggat.fsf@mailbox.samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Brian Moore <brianmooreca(at)yahoo(dot)com> writes:
> please find attached my support for printing/exporting
> xml from postgresql.

A few quick comments:

- why is it necessary to include an entire hash table implementation?
Why does this code require a hash table to begin with, considering
the relatively small size of pg_type? ISTM something far simpler
(for example, a dynamically allocated sorted array and a binary
search) would be sufficient.

- testing code doesn't belong in libpq

- you'll need to update the libpq docs

- you should follow the libpq API naming convention: the function
should be look like some variant of PQresultAsXML()

- context diffs are the preferred format

-Neil

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Mark Cave-Ayland 2004-01-29 12:06:22 Re: ANALYZE patch for review
Previous Message Joe Conway 2004-01-29 00:55:17 Re: [GENERAL] SELECT Question