Re: a very naive question about table names in Postgres

From: Dave Cramer <davecramer(at)postgres(dot)rocks>
To: Paul Jungwirth <pj(at)illuminatedcomputing(dot)com>
Cc: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: a very naive question about table names in Postgres
Date: 2022-01-01 11:48:04
Message-ID: CADK3HHJyFFQaF0qP58nbCPmaUYxN86mvTRKBnPj6NzfAd1m5iw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 31 Dec 2021 at 16:25, Paul Jungwirth <pj(at)illuminatedcomputing(dot)com>
wrote:

> On 12/31/21 12:27 PM, Martin Mueller wrote:
> > I know that on my Mac the tables are kept in the data directory
> > /Users/martinmueller/Library/Application Support/Postgres/var-13. If I
> > go there I see that internally the tables have numbers. Somewhere in
> > the system there must be a table that maps the name I gave to table X
> > to the numerical inside the database.
> >
> > Where is that mapping and how can I query it? On what page of the
> > documentation do I find the answer?
>
> Dear Prof. Mueller,
>
>

Everything you ever wanted to know is here

PostgreSQL: Documentation: 14: Chapter 52. System Catalogs
<https://www.postgresql.org/docs/14/catalogs.html>

Enjoy the journey

Dave

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2022-01-01 16:41:39 Re: pg_config header files are missing - Postgres 13 - Amazon Linux 2
Previous Message Paul Jungwirth 2021-12-31 21:25:20 Re: a very naive question about table names in Postgres