Re: Appended '+' in Column Value - Mailing list pgsql-general

From Tom Lane
Subject Re: Appended '+' in Column Value
Date
Msg-id 9566.1408746211@sss.pgh.pa.us
Whole thread Raw
In response to Re: Appended '+' in Column Value  (Adrian Klaver <adrian.klaver@aklaver.com>)
List pgsql-general
Adrian Klaver <adrian.klaver@aklaver.com> writes:
> On 08/22/2014 03:03 PM, Rich Shepard wrote:
>> On Sat, 23 Aug 2014, Ian Barwick wrote:
>>> You have a newline character. Try:
>>> select count(*) from benthos where stream = E'StarvationCrk\n';

> Yeah, means either whoever inputted the data kept hitting Enter after
> each string(most of the time) or whatever program input the data added \n.

BTW, see \pset (particularly the linestyle option) in the psql man page
for documentation of this behavior and the options for changing it.

            regards, tom lane


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Appended '+' in Column Value
Next
From: "Brodie S"
Date:
Subject: Re: ERROR: Problem running post install step