Re: support for printing/exporting xml

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: support for printing/exporting xml
Дата
Msg-id 873c9zggat.fsf@mailbox.samurai.com
обсуждение исходный текст
Ответ на support for printing/exporting xml  (Brian Moore <brianmooreca@yahoo.com>)
Ответы Re: support for printing/exporting xml  (Brian Moore <brianmooreca@yahoo.com>)
Список pgsql-patches
Brian Moore <brianmooreca@yahoo.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


В списке pgsql-patches по дате отправления:

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: [GENERAL] SELECT Question
Следующее
От: "Mark Cave-Ayland"
Дата:
Сообщение: Re: ANALYZE patch for review