Get object creation sql script in psql client

Поиск
Список
Период
Сортировка
Is there a way to get i.e. table creation sql script from an existing
table in psql (not postgresql, but psql client), like it is in pgAdmin?

I.e. i point it to existing table 'foo', and it writes:
CREATE TABLE foo (
   bar int
);

В списке pgsql-general по дате отправления: