How can I get a list of all available PostgreSQL databases on a user's computer using Npgsql in C#?
PostgreSQL
Npgsql
C#
In postgreSQL there are two way to do it :
\l
SELECT datname FROM pg_database;