Re: [HACKERS] Pluggable storage - Mailing list pgsql-hackers

From Teodor Sigaev
Subject Re: [HACKERS] Pluggable storage
Date
Msg-id 8b2510f0-ab89-dbf1-5b1c-5d686a5e33b8@sigaev.ru
Whole thread Raw
In response to Re: [HACKERS] Pluggable storage  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: [HACKERS] Pluggable storage  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
List pgsql-hackers
> 1. Table AM with a 6-byte TID.
> 2. Table AM with a custom locator format, which could be TID-like.
> 3. Table AM with no locators.

Currently TID has its own type in system catalog. Seems, it's possible that 
storage claims type of TID which it uses. Then, AM could claim it too, so the 
core based on that information could solve the question about AM-storage 
compatibility. Storage could also claim that it hasn't TID type at all so it 
couldn't be used with any access method, use case: compressed column oriented 
storage.

As I remeber, only GIN depends on TID format, other indexes use it as opaque 
type. Except, at least, btree and GiST - they believ that internal pointers are 
the same as outer (to heap)

Another dubious part - BitmapScan.

-- 
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
  WWW: http://www.sigaev.ru/
 



pgsql-hackers by date:

Previous
From: Stas Kelvich
Date:
Subject: Re: [HACKERS] Dynamic instrumentation of lwlock wait times (lwlockflamegraphs)
Next
From: Amit Langote
Date:
Subject: Re: [HACKERS] A bug in mapping attributes in ATExecAttachPartition()