Re: Re: [RFC VOTE] Unbundle ext/interbase
| From: | Christoph M. Becker | Date: | Thu, 02 May 2019 17:58:12 +0000 |
| Subject: | Re: Re: [RFC VOTE] Unbundle ext/interbase | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-105567@lists.php.net to get a copy of this message | ||
On 02.05.2019 at 18:58, Rowan Collins wrote:
> 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.
Indeed, see
<https://github.com/php/php-src/blob/php-7.3.5/ext/pgsql/tests/README>.
--
Christoph M. Becker