Re: Text <-> C string

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Text <-> C string
Дата
Msg-id 20080320123651.GA6235@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Text <-> C string  (Gregory Stark <stark@enterprisedb.com>)
Ответы Re: Text <-> C string  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Gregory Stark wrote:
> "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...

+1 for text_to_cstring et al.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


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

Предыдущее
От: "korry"
Дата:
Сообщение: Re: MemoryContextSwitchTo() confusion
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: [GENERAL] tsearch2 in postgresql 8.3.1 - invalid byte sequence for encoding "UTF8": 0xc3