Re: [HACKERS] Fixes for psql describeOneTableDetails

2008-11-03 Thread Tom Lane
Kris Jurka <[EMAIL PROTECTED]> writes: > Attached are two and a half fixes for problems in psql's > describeOneTableDetails function. Applied, thanks. > 3) When describing a sequence it queries the sequence by name and was not > schema qualifying it which is necessary when describing objects no

[HACKERS] Fixes for psql describeOneTableDetails

2008-10-08 Thread Kris Jurka
Attached are two and a half fixes for problems in psql's describeOneTableDetails function. 1) After PQclear(res) we must null res out, so that later error handling cleanup doesn't try to PQclear it again. 2) In error cleanup we cannot call printTableCleanup unless we've called printTableIn