Re: printTable API (was: Show INHERIT in \du)

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: printTable API (was: Show INHERIT in \du)
Дата
Msg-id 47EFBAA3.3060402@enterprisedb.com
обсуждение исходный текст
Ответ на printTable API (was: Show INHERIT in \du)  ("Brendan Jurd" <direvus@gmail.com>)
Список pgsql-hackers
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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: PFC
Дата:
Сообщение: Re: first time hacker ;) messing with prepared statements
Следующее
От: Tom Lane
Дата:
Сообщение: Re: printTable API (was: Show INHERIT in \du)