On Wed, Jan 12, 2011 at 4:45 PM, Andrew Dunstan <and...@dunslane.net> wrote: >> I thought the idea of overloading the string representation to look like >> the old style was a cute solution. If we don't have anyone at hand who >> knows how to do that, let's find someone who does. Not break our users' >> code because we're too lazy to find out how to do it properly. > > What I was casting a bit of doubt on upthread was whether or not this would > work without possibly breaking some code, in possibly silent or obscure > ways. If I'm wrong about that, then by all means let's use some perl Magic > (that's a technical term) to achieve this. IIRC Alex recently posted some > code that might be instructive about this.
I agree with your gut feeling. I suspect the Perl magic solution will make no one very happy. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers