On 23 June 2010 10:16, kaifeng.zhu <cafe...@gmail.com> wrote:
> Hi there,
> How can I know whether an index already exists?

SELECT *
FROM pg_indexes
WHERE indexname ~ 'your_indexname';


-- 
Sergey Konoplev

Blog: http://gray-hemp.blogspot.com /
Linkedin: http://ru.linkedin.com/in/grayhemp /
JID/GTalk: gray...@gmail.com / Skype: gray-hemp / ICQ: 29353802

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to