Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iNJWr-0001Au-8e for pgsql-general@arkaria.postgresql.org; Wed, 23 Oct 2019 16:30:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iNJWp-0004RB-Ob for pgsql-general@arkaria.postgresql.org; Wed, 23 Oct 2019 16:30:31 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iNJWp-0004R4-Bd for pgsql-general@lists.postgresql.org; Wed, 23 Oct 2019 16:30:31 +0000 Received: from mail-oi1-x242.google.com ([2607:f8b0:4864:20::242]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1iNJWm-0003tC-VH for pgsql-general@lists.postgresql.org; Wed, 23 Oct 2019 16:30:30 +0000 Received: by mail-oi1-x242.google.com with SMTP id g81so17916438oib.8 for ; Wed, 23 Oct 2019 09:30:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=468j87PDybEfBZi8p19bzUe31iA8maT+JepYd2RMxI4=; b=vh+sRkrc+k+SdNoN+VhFey42yIatImDDOATt8CKO4egeKyVpHUKO7xNnHcGDYQa3BF IKYXFy9a5EY0GpM5fVCavrHq/XeZlLMd/7ymFGaeG0OYEwkj5CHtJW0sFR/5PZ+1Uh5l MkstLEpZgWCzPJ5hmOXHHJkaNT9/twMM4sKaLEqgod0j9DoKFAhD7UE0+jrZ1BegQ1tZ I2oYSATluyciHzOqlHsL10OkYA3rKeudghVwIMqnTyS+hpY76o7WHHdzrS4CNuxyuyAO RkvKTX25pkSIBfUQWPKNkpZD8iYkoh/d0/W3qR7EVSaqCQ1GFU4lysTOyGwBUbBONa0l 9uYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=468j87PDybEfBZi8p19bzUe31iA8maT+JepYd2RMxI4=; b=eBEw/iFemhEo7iCnAl5E8Re4yy5Rw7K8LeasE7TPw7CztgAZbBQIBFvUJrckEgg9J/ aqrwkE+u+EeYAlZWiWmW5TzmxK2cLA5oBtYqQTA+Zav+31LxnucG3r6vdN2Iw/vlGcHm VEzI+XPRQoRLePR7+iBxExUk2AvinACPS4PAUyv9pLDr4i4HgXd5eSFh4nOZcEcX36rk +A+KzUwKqcUJZBLbdibwAgrMlubIHk9Lx0iv5elBM3vwbY0AKKZFSNM+tGVv3PvqFglm JNIRihyphUQUVOHbITJL8GhOMC+ITJ64GofjDGChwf9+TWbgvbisZq2R9vi+45WE+uXA XPig== X-Gm-Message-State: APjAAAUpn4C7mbEXHZay5Lz9tJ3xgUnynBc1gN0dajMoug4bCC3VAUhs Mlv5oPFwn9Ie88j9k2WQK1Ehikw17kwh+w== X-Google-Smtp-Source: APXvYqzppHCLWZADe7awAN5E8jtu45PoIgtBV90VZtppyAfHCsnj/mK9FcgMX1gL5x7E5NzDP//tVA== X-Received: by 2002:aca:5413:: with SMTP id i19mr696066oib.121.1571848227982; Wed, 23 Oct 2019 09:30:27 -0700 (PDT) Received: from [192.168.1.10] (ip70-186-126-197.no.no.cox.net. [70.186.126.197]) by smtp.googlemail.com with ESMTPSA id 17sm5687503oiz.3.2019.10.23.09.30.26 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Oct 2019 09:30:27 -0700 (PDT) Subject: Re: Is this a bug ? To: "pgsql-generallists.postgresql.org" References: <6048315C-CE0E-482F-9F48-B300E4D7AC52@aol.com> <9df3ba0d-974d-f13d-ec91-bc22c3ab362b@gmail.com> <24295.1571846414@sss.pgh.pa.us> From: Ron Message-ID: <98b7422b-7ee6-03b5-2312-cd310b763747@gmail.com> Date: Wed, 23 Oct 2019 11:30:25 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 10/23/19 11:27 AM, Geoff Winkless wrote: > On Wed, 23 Oct 2019 at 17:20, Geoff Winkless 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.