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 1h3ktn-0007XJ-3L for pgsql-bugs@arkaria.postgresql.org; Tue, 12 Mar 2019 17:09:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h3ktl-0003y9-Df for pgsql-bugs@arkaria.postgresql.org; Tue, 12 Mar 2019 17:09:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h3ktl-0003y2-37 for pgsql-bugs@lists.postgresql.org; Tue, 12 Mar 2019 17:09:05 +0000 Received: from mail-qk1-x743.google.com ([2607:f8b0:4864:20::743]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h3kti-0003Jh-C5 for pgsql-bugs@lists.postgresql.org; Tue, 12 Mar 2019 17:09:04 +0000 Received: by mail-qk1-x743.google.com with SMTP id z76so1884434qkb.12 for ; Tue, 12 Mar 2019 10:09:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=mnGByvTE661jksU6t2bR66jn2b9VeZPkFelaZLRP1wc=; b=2EmaTIuE9JNpefuPv7MIZQA6qrNOypesP/GXd5xXWwZjH/RYvlbZQKwbi3AItf1j6I CIqQ+mKLhApbar4wACdXAF8UzNvl0jvzzH7nhqZLoTvBRFTR/QF24XDnjuqijj+sCb8s MR8b2CfKQ0rOjn5cbXn9xVklVGB5aW0L7BmmUV88aWZFDPelq4HRk4O+mohNccy4b0GF hzM0VsR4h0tvZQ/fV1zTRNPB5tqxTDnwgvDk3baQU9EE5+ZqlZO8fnNYhlRXXX4taSH9 M2lEw2rpBPkSJxl1DuzdNWEic2MZmXgHggC4AiMKBwjmr+PdzUGjtOmUkzpuLe4Gehsw TYeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=mnGByvTE661jksU6t2bR66jn2b9VeZPkFelaZLRP1wc=; b=YjaDt6uQ3cr8ou1cFjfwZLtMjmFJwOLLJy7FMUcC9oi+JTbmBC32ZRTd2V6JgX5hVz VhduYSq63ESNvkrdZBxKn8x10LfQPe+p0U8ZjFU7m2sIaAnBcAuYGj5fZg/CWqk6K0Rb eDbUYnz+EHPFGzFIdmDd1QW49k8pz9QcFQmDKUvwoMO7CHGON9+TLus3j2pXcGmtUq7a tbQVnYzXQAJbAOgbIUBPdWBSD6pHRkFRKaENbtNUiPY6+MP3GTIPZ5VKurvbwW81PhK8 KSo4dywTTTMRN5+KosvPtLZSJWS59tvh3fMsjlCz3aV0rNXaPBo/4RRFoy/3X6dJsFdN byww== X-Gm-Message-State: APjAAAUem5M6KbRyV6vvTXe7ebNhnfIan9Q2oExtw1jVxM1E02Y5Sazm D2fq4bhZBOfybrqhN+zSa6zUJw== X-Google-Smtp-Source: APXvYqxLwEg3zeXVT/2M2IjF7L03hhvvesYabC93H+DeY5yOhO94F2HuVBA0b7LtvPmPKuQNLqD3Fg== X-Received: by 2002:a37:c517:: with SMTP id p23mr1282225qki.167.1552410540390; Tue, 12 Mar 2019 10:09:00 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id o26sm4598887qkk.51.2019.03.12.10.08.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Mar 2019 10:08:58 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id A696A121C2E; Tue, 12 Mar 2019 14:08:56 -0300 (-03) Date: Tue, 12 Mar 2019 14:08:56 -0300 From: Alvaro Herrera To: Jon Wedell Cc: pgsql-bugs@lists.postgresql.org, Dimitri Maziuk Subject: Re: Bug involving plus sign before newline in text field being duplicated or stripped Message-ID: <20190312170856.GA25605@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7ccaa770-ef82-42bf-dd56-dc595728d0d6@bmrb.wisc.edu> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Mar-12, Jon Wedell wrote: > postgres=# select * from test; >  inchi > ------- >  test++ >   This is just psql showing a literal "+" as continuation character, indicating that the field contains a newline. Try changing "\pset format" to something different. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services