Re: Re: [RFC VOTE] Unbundle ext/interbase
| From: | Rowan Collins | Date: | Thu, 02 May 2019 16:58:05 +0000 |
| Subject: | Re: Re: [RFC VOTE] Unbundle ext/interbase | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-105565@lists.php.net to get a copy of this message | ||
On Thu, 2 May 2019 at 14:57, Christoph M. Becker <cmbecker69@gmx.de> wrote:
> Indeed, it seems that pdo_firebird requires to connect to an existing
> database, contrary to e.g. pdo_mysql which supports DSN like
>
mysql:host=localhost, to my knowledge.
>
Postgres works the same way - a connection is always to a single database,
so you cannot have a DSN which doesn't specify one. Default installations
now ship with an empty database called "postgres" to run administration
commands like "CREATE DATABASE" on.
Glancing that the ext/pgsql and ext/pdo_pgsql tests, though, it looks like
we just require the user to have run "createdb test" before running the
test suite.
Regards,
--
Rowan Collins
[IMSoP]