Re: make \d pg_toast.foo show its indices ; and, \d toast show its main table ; and \d relkind=I show its partitions

From: Justin Pryzby <pryzby(at)telsasoft(dot)com>
To: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
Cc: Rafia Sabih <rafia(dot)pghackers(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: make \d pg_toast.foo show its indices ; and, \d toast show its main table ; and \d relkind=I show its partitions
Date: 2019-07-17 06:26:34
Message-ID: 20190717062634.GV22387@telsasoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Find attached updated patches which also work against old servers.

1) avoid ::regnamespace; 2) don't PQgetvalue() fields which don't exist and then crash.

Attachment Content-Type Size
v7-0001-print-table-associated-with-given-TOAST-table.patch text/x-diff 2.4 KB
v7-0002-make-d-pg_toast.foo-show-its-indices.patch text/x-diff 1.3 KB
v7-0003-show-childs-of-partitioned-indices.patch text/x-diff 13.9 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2019-07-17 06:27:43 Re: POC: Cleaning up orphaned files using undo logs
Previous Message Amit Kapila 2019-07-17 06:12:52 Re: POC: Cleaning up orphaned files using undo logs