mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +03:00
Add TOAST table to the set of relkinds known to \d.
This commit is contained in:
@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright 2000 by PostgreSQL Global Development Group
|
* 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 "postgres_fe.h"
|
||||||
#include "describe.h"
|
#include "describe.h"
|
||||||
@ -631,6 +631,9 @@ describeTableDetails(const char *name, bool desc)
|
|||||||
case 's':
|
case 's':
|
||||||
snprintf(title, 32 + NAMEDATALEN, _("Special relation \"%s\""), name);
|
snprintf(title, 32 + NAMEDATALEN, _("Special relation \"%s\""), name);
|
||||||
break;
|
break;
|
||||||
|
case 't':
|
||||||
|
snprintf(title, 32 + NAMEDATALEN, _("TOAST table \"%s\""), name);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
snprintf(title, 32 + NAMEDATALEN, _("?%c? \"%s\""), tableinfo.relkind, name);
|
snprintf(title, 32 + NAMEDATALEN, _("?%c? \"%s\""), tableinfo.relkind, name);
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user