From 12de8bcd7b9d80b38512cdbc81a8609d50c9130f Mon Sep 17 00:00:00 2001 From: Shigeru Hanada Date: Thu, 14 Oct 2010 16:05:53 +0900 Subject: [PATCH] Fix to print the name of the foreign server when the table being described was a foreign table. --- src/bin/psql/describe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c index 19d4a9a341..87e15cb0e0 100644 --- a/src/bin/psql/describe.c +++ b/src/bin/psql/describe.c @@ -1953,7 +1953,7 @@ describeOneTableDetails(const char *schemaname, /* * Finish printing the footer information about a table. */ - if (tableinfo.relkind == 'r') + if (tableinfo.relkind == 'r' || tableinfo.relkind == 'f') { PGresult *result; int tuples; -- 2.39.5