Re: Text <-> C string

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: Text <-> C string
Дата
Msg-id 87lk4d7p6f.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на Re: Text <-> C string  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Text <-> C string  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
"Tom Lane" <tgl@sss.pgh.pa.us> writes:

> Volkan YAZICI <yazicivo@ttmail.com> writes:
>> But I'd vote for TextPGetCString style Tom suggested for the eye-habit
>> compatibility with the rest of the code.
>
> If there are not additional votes, I'll go with TextPGetCString
> and CStringGetTextP.

I would have voted for text_to_cstring etc. I can see the logic for the above
but it's just such a pain to type...

Fwiw I didn't actually find text_cstring confusing because all our sql cast
functions are defined that way.


--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com Ask me about EnterpriseDB's Slony Replication
support!


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

Предыдущее
От: Dan Searle
Дата:
Сообщение: MemoryContextSwitchTo() confusion
Следующее
От: "Pavan Deolasee"
Дата:
Сообщение: Re: MemoryContextSwitchTo() confusion