And... If in case you may not wantYou can enter the following psql meta-command to typeget some details about a whole query... you can also type...specified database, including its size:
\l+ <database_name> and you will get some details about the database, including the size of the database.
And... To to get sizes of allall databases.
(that you can just type...
\l+ You may need to go into the postgresql command promptconnect to query with these postgresql helper commands.
Check other postgresql helper commands by typing):
\?\l+ at the postgresql command prompt.