Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5098293

Browse files
committed
Add TOAST table to the set of relkinds known to \d.
1 parentf7b7b03 commit5098293

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎src/bin/psql/describe.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright 2000 by PostgreSQL Global Development Group
55
*
6-
* $Header: /cvsroot/pgsql/src/bin/psql/describe.c,v 1.36 2001/08/05 22:13:46 tgl Exp $
6+
* $Header: /cvsroot/pgsql/src/bin/psql/describe.c,v 1.37 2001/08/09 03:32:16 tgl Exp $
77
*/
88
#include"postgres_fe.h"
99
#include"describe.h"
@@ -631,6 +631,9 @@ describeTableDetails(const char *name, bool desc)
631631
case's':
632632
snprintf(title,32+NAMEDATALEN,_("Special relation \"%s\""),name);
633633
break;
634+
case't':
635+
snprintf(title,32+NAMEDATALEN,_("TOAST table \"%s\""),name);
636+
break;
634637
default:
635638
snprintf(title,32+NAMEDATALEN,_("?%c? \"%s\""),tableinfo.relkind,name);
636639
break;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp