Getting all entries in a single block with ctid

Поиск
Список
Период
Сортировка
От Tore Halvorsen
Тема Getting all entries in a single block with ctid
Дата
Msg-id CADGw-Sf5Jxs9FVOx1-whiTgFrPurFSvY-GJ3VqQ5Vfxt5b+DhQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Getting all entries in a single block with ctid  ("Tomas Vondra" <tv@fuzzy.cz>)
Список pgsql-general
Hi,

As I understand it, the ctid contains both the block number and an index is this block.
Is there a way to fetch all the table entries from the same block?

E.g. something like this:

select * from foo where ctid like '(123,%'

or ... ctid.block = 123

--
Eld på åren og sol på eng gjer mannen fegen og fjåg. [Jøtul]
<demo> 2012 Tore Halvorsen || +052 0553034554

В списке pgsql-general по дате отправления:

Предыдущее
От: Cefull Lo
Дата:
Сообщение: Re: time zone problem
Следующее
От: "Tomas Vondra"
Дата:
Сообщение: Re: Getting all entries in a single block with ctid