3 ms·
pg_dump --schema-only --table=tablename databasename
by pjot 3y ago
pg_dump --schema-only --table=tablename databasename
- renewiltord 3y agoI have to say that this style of pointless tech flamewar is actually quite refreshing to encounter. It's like Slashdot in the old days Linux v BSD. Someone fires off a command or a patch that adds the functionality. Sort of nostalgic. Ultimately, though, it would be nice to have a `.schema` equivalent in `psql` just as a convenience tool.