Re: C function accepting/returning cstring vs. text

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: C function accepting/returning cstring vs. text
Дата
Msg-id 162867791001270605k308e73e8i9ce5b2d5ab2a7464@mail.gmail.com
обсуждение исходный текст
Ответ на Re: C function accepting/returning cstring vs. text  (Ivan Sergio Borgonovo <mail@webthatworks.it>)
Список pgsql-hackers
> Is there any difference from function returning text and function
> returning cstring?
>

text is varlena type - it could be TOASTed, comprimated. It is better
integrated to PostgreSQL world. cstring is just C zero terminated
string - so good for system call, call some external libraries.

Regards
Pavel Stehule


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

Предыдущее
От: David Christensen
Дата:
Сообщение: Re: Patch: psql \whoami option
Следующее
От: David Christensen
Дата:
Сообщение: Re: Patch: psql \whoami option