Brendan Jurd wrote:
1. describe malloc's the cells to zero, but print just does a local calloc without any initialisation.
Um, calloc is the same as malloc + zero. Those two seem identical to me.
2. describe only does an mbvalidate for WIN32, but print does it in all cases.
There's this comment in describe.c:
/* * mbvalidate() is used in function describeOneTableDetails() to make sure * all characters of the cells will be printed to the DOS console in a * correct way */
I don't know what that's about. Perhaps there's something in the archives... -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers