From: Dan Wilson <dan_wilson@geocities.com>
To: pgsql general <pgsql-general@postgresql.org>
Subject: escaping wildcard chars
Date: Sun, 25 Jul 1999 23:16:52 -0600
Message-ID: <008801bed726$ffdc2860$ac0bfea9@dwilson> (raw)
I am trying to pull in the different types allowed by postgres for a create
function statement and am having problems with the types that start with an
underscore (_). Because the underscore is the wildcard for a single
character, I cannot perform the following query correctly.
SELECT typname from pg_type WHERE NOT LIKE '_%'
It gives me an empty set.
Is there any way to escape the underscore. I tried to use '\_%', but that
didn't help. Any suggestions?
-Dan
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: dan_wilson@geocities.com, pgsql-general@postgresql.org
Subject: Re: escaping wildcard chars
In-Reply-To: <008801bed726$ffdc2860$ac0bfea9@dwilson>
References: <008801bed726$ffdc2860$ac0bfea9@dwilson>
* 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