Heikki Linnakangas <heikki.linnakan...@enterprisedb.com> writes:
> Hmm, I see, cached plans are planned in a shorter-lived context first, 
> and copied to permanent storage afterwards. Needs more thought then. 
> Maybe the FDW needs to provide a copyFdwPlan() function to copy FdwPlans 
> returned by that FDW.

Or just specify a format for the extra information.  Perhaps it could be
thought of as being a value of type bytea?  Obviously we can't just have
a fixed amount of info, but maybe a blob with a length word is enough.

                        regards, tom lane

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to