Re: Is this a bug ?

Поиск
Список
Период
Сортировка
От Ron
Тема Re: Is this a bug ?
Дата
Msg-id 98b7422b-7ee6-03b5-2312-cd310b763747@gmail.com
обсуждение исходный текст
Ответ на Re: Is this a bug ?  (Geoff Winkless <pgsqladmin@geoff.dj>)
Ответы Re: Is this a bug ?  (Adrian Klaver <adrian.klaver@aklaver.com>)
Re: Is this a bug ?  (Fabio Ugo Venchiarutti <f.venchiarutti@ocado.com>)
Список pgsql-general
On 10/23/19 11:27 AM, Geoff Winkless wrote:
> On Wed, 23 Oct 2019 at 17:20, Geoff Winkless <pgsqladmin@geoff.dj> wrote:
>> For what it's worth, I can see a value to having
>>
>> SELECT 'this is quite a long string'
>>                 'which I've joined together '
>>                 'across multiple lines';
>>
>> although the advantage of it vs using a concat operator is slim.
> As an aside, Postgres isn't the only DB to follow the standard here.
>
> mysql> select 'hello'
>      -> ' there';
> +-------------+
> | hello       |
> +-------------+
> | hello there |
> +-------------+

This is the kind of weird stuff that we mocked mysql for.

This too would have been roundly mocked if discovered in mysql:

postgres=# select to_date('2018150X','YYYYMMDD');
   to_date
------------
  2019-03-03
(1 row)


-- 
Angular momentum makes the world go 'round.



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

Предыдущее
От: Geoff Winkless
Дата:
Сообщение: Re: Is this a bug ?
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: date function bug