Hi when I'm using symfony 3.3 doctrie with postgres10 i got this message when trying to use sequences:
SELECT min_value, increment_by FROM I found workaround for this at https://github.com/doctrine/dbal/issues/2868 which suggest to add IF condition like this: $version = floatval($this->_conn->getWrappedConnection()->getServerVersion()); if ($version >= 10) { $data = $this->_conn->fetchAll('SELECT min_value, increment_by FROM pg_sequences WHERE schemaname = \'public\' AND sequencename = '.$this->_conn->quote($sequenceName)); } else { $data = $this->_conn->fetchAll('SELECT min_value, increment_by FROM ' . $this->_platform->quoteIdentifier($sequenceName)); } into vendor/doctrine/dbal/lib/Doctrine/DBAL/Schema/PostgreSqlSchemaManager.php which helps. my migrations and db commands from console are now working again. maybe this can be fixes cause obvious reasons... regards r -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
