How to use int2vector

From: Rich Cullingford <rculling(at)sysd(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: How to use int2vector
Date: 2004-01-29 16:20:57
Message-ID: 401932E9.4010702@sysd.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello, all.

In trying to write a utility to drop/restore table indexes (as an aid to
a fast reload of the associated tables), I ran into the definition of
the field pg_index.indkey as an int2vector. I can't see any place in the
doc that says what to do with this type, you can't cast it to any array
type, and the only reference to it in the searchable archives (Thanks,
pgsql.ru!) points one to contrib/intarray -- which doesn't mention
int2vector at all.

How can I deal with this type in plpgsql?

Thanks,
Rich Cullingford
System Detection, Inc.
rculling(at)sysd(dot)com

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2004-01-29 16:32:29 Re: Routine maintenance - vacuum, analyse and autovacuum
Previous Message Juan Carlos Diez 2004-01-29 15:29:31 Help: System requirements for postgresql 7.4.1