I've written code to connect to and/or create databases in C. To check
my work, I'll open up psql in another console. But if I'm connected to
the default database (template1), and attempt to connect to that
database in my C program, it fails.
What gives? Is there a limitation of some kind I'm missing?
Paul