From: Shigeru Hanada Date: Thu, 14 Oct 2010 07:05:53 +0000 (+0900) Subject: Fix to print the name of the foreign server when the table being X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=12de8bcd7b9d80b38512cdbc81a8609d50c9130f;p=users%2Fhanada%2Fpostgres.git Fix to print the name of the foreign server when the table being described was a foreign table. --- 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;