spauldingsmails Posted March 17, 2009 Share Posted March 17, 2009 I have created a postgresql user who can create users and databases but they do not require their own database. Therefore, I'm wondering if it is possible to create a connection using pg_connect without a database name. Link to comment https://forums.phpfreaks.com/topic/149855-pg_connect-without-dbname/ Share on other sites More sharing options...
btherl Posted March 17, 2009 Share Posted March 17, 2009 You can have them connect to the template database, I think it is template0 or template1. It doesn't matter which database you connect to, you just need to connect to one. Link to comment https://forums.phpfreaks.com/topic/149855-pg_connect-without-dbname/#findComment-787238 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.