Re: Improved (De)Serialization Support

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Improved (De)Serialization Support
Дата
Msg-id 13329.1203745238@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Improved (De)Serialization Support  (Andy Pavlo <pavlo@cs.brown.edu>)
Ответы Re: Improved (De)Serialization Support  (Andy Pavlo <pavlo@cs.brown.edu>)
Список pgsql-hackers
Andy Pavlo <pavlo@cs.brown.edu> writes:
> I have added support in readfuncs.c to write out Query and PlannedStmt objects 
> using nodeToString() and then read them back in. We needed this so that we 
> could use PREPARE and write the arguments to StorePreparedStatement() out to 
> a file. We are going then read them back into Postgres on a different server 
> and use EXECUTE.

Um, surely Query objects can be written/read already?

> 2) Would anyone be interested in committing my changes back to CVS?

I'm not very excited about adding a load of code that will never be
exercised during normal use.  That will inevitably be a hotbed of
bit-rot.  Now, if the feature that needs it is also being proposed for
inclusion in core, then maybe we could talk.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: 8.3 / 8.2.6 restore comparison
Следующее
От: Greg Smith
Дата:
Сообщение: Re: 8.3 / 8.2.6 restore comparison