Commit 50982933 authored by Tom Lane's avatar Tom Lane

Add TOAST table to the set of relkinds known to \d.

parent f7b7b039
......@@ -3,7 +3,7 @@
*
* Copyright 2000 by PostgreSQL Global Development Group
*
* $Header: /cvsroot/pgsql/src/bin/psql/describe.c,v 1.36 2001/08/05 22:13:46 tgl Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/describe.c,v 1.37 2001/08/09 03:32:16 tgl Exp $
*/
#include "postgres_fe.h"
#include "describe.h"
......@@ -631,6 +631,9 @@ describeTableDetails(const char *name, bool desc)
case 's':
snprintf(title, 32 + NAMEDATALEN, _("Special relation \"%s\""), name);
break;
case 't':
snprintf(title, 32 + NAMEDATALEN, _("TOAST table \"%s\""), name);
break;
default:
snprintf(title, 32 + NAMEDATALEN, _("?%c? \"%s\""), tableinfo.relkind, name);
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment