On Thu, Sep 29, 2016 at 4:15 PM, Emrul <emrul(at)emrul(dot)com> wrote:
> What I'd like to do is store a reference to all the links from one record
> using an array type that stores links to all related tables.
>
> At first, I've succeeded in doing this using primary key Ids and this works
> fine. However, I'd like to be able to bypass the index lookup altogether by
> storing the ctids in my array instead of the primary key ids.
I suspect you're going to find that this is very difficult and doesn't
actually make anything any better than just using the primary key IDs.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company