Re: explain output infelicity in psql

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: explain output infelicity in psql
Дата
Msg-id 4B213A24.4030905@dunslane.net
обсуждение исходный текст
Ответ на Re: explain output infelicity in psql  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: explain output infelicity in psql  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
>   
>> I don't see much virtue of having these characters when there is only 
>> one column.
>>     
>
> So you can tell a newline in the data from a wrap due to line length.
> The need to be able to do that is not dependent on how many columns
> there are.
>   


If that's really what we want then I think we're doing a terrible job of 
it. Have a look at the output of:
   select   E'xxxxxxx\nxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\nxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'   as
a,1 as b;
 

How do we know from that where the linefeeds are, exactly?

cheers

andrew



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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: tsearch parser inefficiency if text includes urls or emails - new version
Следующее
От: Tom Lane
Дата:
Сообщение: Re: explain output infelicity in psql