From: Tom Hartnett <tdhartnett@gmail.com>
To: pgsql-admin@postgresql.org
Subject: simple question about using an empty string building a partial index
Date: Mon, 2 May 2011 22:52:04 -0500
Message-ID: <BANLkTimkN8c4WVtNGQY0nbY_aPdR-yiEfg@mail.gmail.com> (raw)
can it be done?
create index my_idx on my_table(col1) where col1='';
ERROR: invalid input syntax for integer: ""
Seems simple enough but I don't know what the trick is.
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-admin@postgresql.org
Cc: tdhartnett@gmail.com
Subject: Re: simple question about using an empty string building a partial index
In-Reply-To: <BANLkTimkN8c4WVtNGQY0nbY_aPdR-yiEfg@mail.gmail.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