From:
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To:
Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc:
Itagaki Takahiro <itagaki(dot)takahiro(at)gmail(dot)com>,
Alvaro Herrera <alvherre(at)commandprompt(dot)com>,
PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject:
Re: string function - "format" function proposal
Date:
2010-09-06 13:47:55
Message-ID:
26221.1283780875@sss.pgh.pa.us (view raw or flat )
Thread:
2010-08-30 10:58:31 from Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
2010-08-30 11:20:54 from Itagaki Takahiro <itagaki(dot)takahiro(at)gmail(dot)com>
2010-08-30 11:51:55 from Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
2010-08-30 15:24:07 from Alvaro Herrera <alvherre(at)commandprompt(dot)com>
2010-08-30 16:08:54 from Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
2010-08-31 21:07:40 from Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
2010-08-31 21:15:29 from "A(dot)M(dot)" <agentm(at)themactionfaction(dot)com>
2010-08-31 22:57:16 from David Fetter <david(at)fetter(dot)org>
2010-09-01 04:14:50 from Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
2010-09-01 00:53:44 from Itagaki Takahiro <itagaki(dot)takahiro(at)gmail(dot)com>
2010-09-01 04:29:28 from Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
2010-09-06 05:16:44 from Itagaki Takahiro <itagaki(dot)takahiro(at)gmail(dot)com>
2010-09-06 06:37:18 from Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
2010-09-06 13:47:55 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2010-09-06 14:04:07 from Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
2010-09-06 14:28:29 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2010-09-06 14:04:25 from Itagaki Takahiro <itagaki(dot)takahiro(at)gmail(dot)com>
2010-09-06 14:07:02 from Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
2010-09-06 14:24:08 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2010-09-06 14:51:34 from Itagaki Takahiro <itagaki(dot)takahiro(at)gmail(dot)com>
2010-09-06 15:05:29 from Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
2010-09-09 11:57:41 from Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
2010-09-29 03:04:37 from Itagaki Takahiro <itagaki(dot)takahiro(at)gmail(dot)com>
2010-09-29 07:59:51 from Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
2010-10-14 01:23:20 from Robert Haas <robertmhaas(at)gmail(dot)com>
2010-10-14 02:03:16 from Itagaki Takahiro <itagaki(dot)takahiro(at)gmail(dot)com>
2010-10-14 02:11:43 from Alvaro Herrera <alvherre(at)commandprompt(dot)com>
2010-10-14 02:12:15 from Robert Haas <robertmhaas(at)gmail(dot)com>
2010-10-14 04:25:45 from Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
2010-10-14 06:25:49 from Itagaki Takahiro <itagaki(dot)takahiro(at)gmail(dot)com>
2010-10-14 07:00:28 from Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
2010-10-14 12:25:58 from Robert Haas <robertmhaas(at)gmail(dot)com>
2010-10-14 12:50:35 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2010-10-15 00:52:09 from Itagaki Takahiro <itagaki(dot)takahiro(at)gmail(dot)com>
2010-10-15 03:59:13 from Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
2010-10-15 04:55:37 from Itagaki Takahiro <itagaki(dot)takahiro(at)gmail(dot)com>
2010-10-15 11:20:58 from Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
2010-10-15 11:36:40 from Itagaki Takahiro <itagaki(dot)takahiro(at)gmail(dot)com>
2010-10-15 13:30:40 from Robert Haas <robertmhaas(at)gmail(dot)com>
2010-10-15 14:54:57 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2010-10-15 21:13:55 from Robert Haas <robertmhaas(at)gmail(dot)com>
2010-10-15 21:42:41 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2010-10-15 22:29:13 from Robert Haas <robertmhaas(at)gmail(dot)com>
2010-10-18 11:37:24 from Itagaki Takahiro <itagaki(dot)takahiro(at)gmail(dot)com>
2010-10-18 12:48:16 from Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
2010-10-18 14:42:40 from Robert Haas <robertmhaas(at)gmail(dot)com>
2010-10-18 17:07:08 from Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
2010-10-18 17:47:21 from Robert Haas <robertmhaas(at)gmail(dot)com>
Lists:
pgsql-hackers
Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> writes:
> 2010/9/6 Itagaki Takahiro <itagaki(dot)takahiro(at)gmail(dot)com>:
>> Which should we use for such purposes? Consistent behavior is
>> obviously preferred. Boolean type might be the only type that
>> is converted to different representation in typoutput or cast-to-test,
>> but we should consider to have boolean-specific hardwired code,
>> or cast all types to text instead of output functions.
> Personally I prefer casting to text -
No, you need to use the I/O functions. Not every type is guaranteed to
have a cast to text.
> iit allows some later
> customizations. And it's more consistent with || operator.
I don't buy either of those arguments.
regards, tom lane
In response to
Responses
pgsql-hackers by date
Next :From: Magnus HaganderDate: 2010-09-06 13:52:26
Subject : Re: git: uh-oh
Previous :From : Tom LaneDate : 2010-09-06 13:37:31
Subject : Re: git: uh-oh