nettrine postgres server_version

esorimer
Member | 114
+
0
-
Doctrine\DBAL\DBALException
An exception occurred while establishing a connection to figure out your platform version.
You can circumvent this by setting a 'server_version' configuration value

For further information have a look at:
https://github.com/doctrine/DoctrineBundle/issues/673

Hello,
I am trying to use postgres with nettrine and I get the error above.
I tryied this configuration:

dbal: #doctrine
        connection:
                driver: pdo_pgsql
                host: localhost
                dbname: test
                user: user
                password:
                server_version: 11.7

but without success :( Any idea how to configure server_version for doctrine?

Felix
Nette Core | 1194
+
+1
-

Did you try serverVersion?

esorimer
Member | 114
+
0
-

Great, this works! Thanks.

Felix wrote:

Did you try serverVersion?