Lists: | pgsql-hackers |
---|
From: | "xie jiong" <xie_jiong(at)163(dot)com> |
---|---|
To: | <pgsql-hackers(at)postgresql(dot)org> |
Subject: | question about large object |
Date: | 2008-11-06 03:48:41 |
Message-ID: | 000601c93fc2$90a70500$0d03a8c0@gym |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Hi,
I am reading code about large object of pgsql and have a question:
in pg_largeobject.h:
CATALOG(pg_largeobject,2613) BKI_WITHOUT_OIDS
{
Oid loid; /* Identifier of large object */
int4 pageno; /* Page number (starting from 0) */
bytea data; /* Data for page (may be zero-length) */
} FormData_pg_largeobject;
what's mean of pageno? or what 's "page" of a large object refer to?
is this "page"(pageno) refer to "chunk"(chunk number) of lob, as opposed to
real data page? (or just one data page to store one chunk of lob)
Thanks!
Jiong
From: | Volkan YAZICI <yazicivo(at)ttmail(dot)com> |
---|---|
To: | "xie jiong" <xie_jiong(at)163(dot)com> |
Cc: | <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: question about large object |
Date: | 2008-11-06 12:49:13 |
Message-ID: | 87zlkdqat2.fsf@alamut.mobiliz.com.tr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
On Thu, 6 Nov 2008, "xie jiong" <xie_jiong(at)163(dot)com> writes:
> what's mean of pageno? or what 's "page" of a large object refer to?
> is this "page"(pageno) refer to "chunk"(chunk number) of lob, as
> opposed to real data page? (or just one data page to store one chunk
> of lob)
Checked the explanation[1] in the documentation?
Regards.
[1] http://www.postgresql.org/docs/current/static/catalog-pg-largeobject.html