Re: pg_dump(all) library

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_dump(all) library
Дата
Msg-id 23815.1217090808@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_dump(all) library  (David Fetter <david@fetter.org>)
Список pgsql-hackers
David Fetter <david@fetter.org> writes:
> What would a libpgdump API look like?

Hmm.  Start with requirements:

* Ability to enumerate the objects in a database

* Ability to fetch the "properties" of individual objects
(SQL definition is only one property, eg. pg_dump considers
owner, schema, ACL separately from the CREATE command)

* Ability to identify an appropriate dump order (and perhaps
lower-level manipulations of dependency info, not sure what
might be needed)

* Ability to work with different server versions (not sure how
much that impacts the API, but it's definitely something to keep
in mind while designing)

What else?
        regards, tom lane


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

Предыдущее
От: Kenneth Marshall
Дата:
Сообщение: Re: [RFC] Unsigned integer support.
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: pg_dump(all) library