Re: [HACKERS] Improved (De)Serialization Support

2008-02-24 Thread Andy Pavlo
On Saturday 23 February 2008 00:40, Tom Lane wrote: > Andy Pavlo <[EMAIL PROTECTED]> 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 argument

Re: [HACKERS] Improved (De)Serialization Support

2008-02-22 Thread Tom Lane
Andy Pavlo <[EMAIL PROTECTED]> 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

[HACKERS] Improved (De)Serialization Support

2008-02-22 Thread Andy Pavlo
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 diffe