pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Wiwwo Staff <wiwwo@wiwwo.com>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Tablespace OID, database OID, relfilenode
Date: Tue, 17 Jan 2023 21:27:42 -0800
Message-ID: <72d26e5f-0b07-a153-14ab-d2795b108f71@aklaver.com> (raw)
In-Reply-To: <CAFe70G637-nakfQ+7SJkYrd9eneFFQD3heYasTRpDOFvZa+R5w@mail.gmail.com>
References: <CAFe70G57o3OnGhDLLU6LG=eg8r5CapK9UmCcT93kvOi+7LFrGA@mail.gmail.com>
	<1505292e2bedcfcf13e9334f686946742b9db7f2.camel@cybertec.at>
	<CAFe70G7qMpmasfNq4G3PgdEPubMkBJr34CZEPCPJ6eVF_sCtKg@mail.gmail.com>
	<3942b14b-be82-805f-3ec4-3be85d89b2b6@aklaver.com>
	<CAFe70G637-nakfQ+7SJkYrd9eneFFQD3heYasTRpDOFvZa+R5w@mail.gmail.com>

On 1/17/23 11:49, Wiwwo Staff wrote:
> Thank you Adrian, thank you David!
> So, it turns out, it *is* indeed an arbitrary constant...
> I have been answered many times RTFM, it is actually the first time I 
> have being answered RTF source code.
> (I searched for 1663 in PG docs, it is there, although not really 
> "intuitive").
> 
> Allow me to humbly propose to maybe at least write somewhere in the DOCs 
> in a clear way: "This is a number you should know, and it is arbitrary, 
> and in some functions it will be represented as 'base'  ".
> It is fundamental to know this when one uses pg_waldump, for example.
> 
> Not to start a flame war here, just humbly proposing...

https://www.postgresql.org/docs/current/storage-file-layout.html

"The pg_default tablespace is not accessed through pg_tblspc, but 
corresponds to PGDATA/base. Similarly, the pg_global tablespace is not 
accessed through pg_tblspc, but corresponds to PGDATA/global."

> 
> Thanks all again!
> 
> 

-- 
Adrian Klaver
adrian.klaver@aklaver.com






view thread (7+ messages)

Message-ID: <72d26e5f-0b07-a153-14ab-d2795b108f71@aklaver.com>
Permalink:  ../72d26e5f-0b07-a153-14ab-d2795b108f71@aklaver.com/
Also on:    postgresql.org/message-id/72d26e5f-0b07-a153-14ab-d2795b108f71@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, wiwwo@wiwwo.com, laurenz.albe@cybertec.at
  Subject: Re: Tablespace OID, database OID, relfilenode
  In-Reply-To: <72d26e5f-0b07-a153-14ab-d2795b108f71@aklaver.com>
  References: <CAFe70G57o3OnGhDLLU6LG=eg8r5CapK9UmCcT93kvOi+7LFrGA@mail.gmail.com> <1505292e2bedcfcf13e9334f686946742b9db7f2.camel@cybertec.at> <CAFe70G7qMpmasfNq4G3PgdEPubMkBJr34CZEPCPJ6eVF_sCtKg@mail.gmail.com> <3942b14b-be82-805f-3ec4-3be85d89b2b6@aklaver.com> <CAFe70G637-nakfQ+7SJkYrd9eneFFQD3heYasTRpDOFvZa+R5w@mail.gmail.com> <72d26e5f-0b07-a153-14ab-d2795b108f71@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox