Re: Identifying Reason for Column Name Returned by SELECT

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Identifying Reason for Column Name Returned by SELECT
Date: 2011-09-14 17:04:51
Message-ID: alpine.LNX.2.00.1109141002030.4384@salmo.appl-ecosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 14 Sep 2011, Steve Crawford wrote:

> I suspect you have a multi-line entry and the '+' is just indicating that the
> field continues.

Steve, et al.:

It's not multi-line, but malformed.

> Try ...where site_id ~ 'GW-22'... (this may take a while if the table is very
> large).

This found the appropriate rows. Now, my question is DDL-related:

What is the appropriate syntax to change 'GW-22 +' to GW-22? Can I use
'like' or '~' in an ALTER TABLE RENAME <column> ... statement?

Thanks guys,

Rich

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Broersma 2011-09-14 17:10:16 Re: Identifying Reason for Column Name Returned by SELECT
Previous Message Darren Duncan 2011-09-14 17:00:53 Re: Identifying Reason for Column Name Returned by SELECT