From: | Raghavendra <raghavendra(dot)rao(at)enterprisedb(dot)com> |
---|---|
To: | 姜头 <104186179(at)qq(dot)com> |
Cc: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: How can i get record by data block not by sql? |
Date: | 2011-10-03 13:07:05 |
Message-ID: | CA+h6Ahh51M9-0A2U4WVSx67WYHPrNUxafR2Qq6F7Sj=ax5XuDg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
To know the page and row information :
Select ctid,* from <tablename>;
For more information at page-level, you can take the help of contrib module
"pageinspect". Which is under
pgsql-path/share/postgresql/contrib/pageinspect.sql
---
Regards,
Raghavendra
EnterpriseDB Corporation
Blog: http://raghavt.blogspot.com/
2011/10/3 姜头 <104186179(at)qq(dot)com>
> How can i get record by data block not by sql?
>
> I want to read and write lots of data by data blocks, so i can form a
> disk-resident tree by recording the block address. But i don't know how to
> implement in postgresql.
> Is there system function can do this?
> Can someone help me?? Thank you very very much!!!!1
>
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2011-10-03 13:14:56 | Re: [GENERAL] One-click installer, Windows 7 32-bit, and icacls.exe |
Previous Message | Karl Wright | 2011-10-03 12:48:34 | Re: [GENERAL] One-click installer, Windows 7 32-bit, and icacls.exe |