Re: E_BAD_ACCESS with palloc/pfree in base type

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: E_BAD_ACCESS with palloc/pfree in base type
Дата
Msg-id 87abs8i138.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на E_BAD_ACCESS with palloc/pfree in base type  (Michael Glaesemann <grzm@seespotcode.net>)
Ответы Re: E_BAD_ACCESS with palloc/pfree in base type
Список pgsql-general
"Michael Glaesemann" <grzm@seespotcode.net> writes:

>     char * theDigits = malloc(sizeof(XTypeMaximumStringLength));
...
>     char * subscriberNumber = malloc(XTypeMaximumStringLength);

One of those two is wrong, I suspect the first one. I wonder how you define
XTypeMaximumStringLength as sizeof(<integer constant>) ought to give a
compile-time error.

--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com

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

Предыдущее
От: Patryk Kordylewski
Дата:
Сообщение: Re: ERROR: table row type and query-specified row type do not match
Следующее
От: "Ottó Havasvölgyi"
Дата:
Сообщение: Query the catalog