Re: Improved (De)Serialization Support - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Improved (De)Serialization Support
Date
Msg-id 13329.1203745238@sss.pgh.pa.us
Whole thread Raw
In response to Improved (De)Serialization Support  (Andy Pavlo <pavlo@cs.brown.edu>)
Responses Re: Improved (De)Serialization Support  (Andy Pavlo <pavlo@cs.brown.edu>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: 8.3 / 8.2.6 restore comparison
Next
From: Greg Smith
Date:
Subject: Re: 8.3 / 8.2.6 restore comparison