pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Campbell, Lance <lance@uiuc.edu>
Cc: pgsql-sql@postgresql.org
Subject: Re: Like problem
Date: Wed, 13 Feb 2008 17:09:10 +0000
Message-ID: <47B32436.3050100@archonet.com> (raw)
In-Reply-To: <16828.1202921561@sss.pgh.pa.us>
References: <B10E6810AC2A2F4EA7550D072CDE8760197EF2@SAB-FENWICK.sab.uiuc.edu>
	<47B31DEC.5050109@archonet.com>
	<16828.1202921561@sss.pgh.pa.us>

Tom Lane wrote:
> Richard Huxton <dev@archonet.com> writes:
>> Campbell, Lance wrote:
>>> WARNING:  nonstandard use of escape in a string literal
>>> LINE 1: ...ct c1 from t1 where c1 like '%abc\_%';
> 
>> Either indicate you are using an escaped string: LIKE E'%abc\_%'
> 
> Actually that's wrong, what he'd need is LIKE E'%abc\\_%'
> (or omit the E and ignore the warning).

<sigh> need to switch to a better coffee...

-- 
   Richard Huxton
   Archonet Ltd



view thread (7+ messages)

Message-ID: <47B32436.3050100@archonet.com>
Permalink:  ../47B32436.3050100@archonet.com/
Also on:    postgresql.org/message-id/47B32436.3050100@archonet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: dev@archonet.com, tgl@sss.pgh.pa.us, lance@uiuc.edu
  Subject: Re: Like problem
  In-Reply-To: <47B32436.3050100@archonet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox