title: Fetch all tables in a particuler Postgres database using node?
body: <p>I need to fetch all tables in a particular Postgres database using node. But not finding any way to achieve that. Is there any way to get that?</p>
  <p>For example, suppose I have a database named 'TestDatabase' it contains 4 tables( just assume it can have less or more) Person, Company, Clothes, Animal.
  I need to get the name of all of them using node.</p>
  <p>I am also using node-postgres ('pg') to connect with the database.</p>