From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Gregory Stark <stark(at)enterprisedb(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Volkan YAZICI <yazicivo(at)ttmail(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Text <-> C string |
Date: | 2008-03-20 12:36:51 |
Message-ID: | 20080320123651.GA6235@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Gregory Stark wrote:
> "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
>
> > Volkan YAZICI <yazicivo(at)ttmail(dot)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.
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2008-03-20 12:41:17 | Re: Problem identifying constraints which should not be inherited |
Previous Message | korry | 2008-03-20 12:13:09 | Re: MemoryContextSwitchTo() confusion |
From | Date | Subject | |
---|---|---|---|
Next Message | Simon Riggs | 2008-03-20 14:04:30 | Re: Bulk Insert tuning |
Previous Message | Gregory Stark | 2008-03-20 08:52:24 | Re: Text <-> C string |