Skip to content

Loading…

DBAL-116: Support Array type For Postgresql #1101

Closed
doctrinebot opened this Issue · 5 comments

2 participants

@doctrinebot

Jira issue originally created by user emerzh:

Hi,

Since at least postgres 8.4 , pg support arrays...
it could be nice if doctrine could read them as a type instead of use a string for it.
Postgresql also offer a sort of hash array named hstore...

Thanks

http://www.postgresql.org/docs/8.4/static/arrays.html

http://www.postgresql.org/docs/8.4/static/hstore.html

@doctrinebot

Comment created by @beberlei:

This will not be implemented as it is implementation specific whereas Doctrine features need to be supported by all vendors.

You can already implement this with custom types though, i remember testing this some time ago.

@doctrinebot

Issue was closed with resolution "Won't Fix"

@doctrinebot

Comment created by k-fish:

Why is this not to be implemented? It can be used by the PostgreSQL driver without anything above it needing change - all platform drivers exist precisely to deal with implementation specifics… No?

@doctrinebot

Comment created by k-fish:

Coming back to this and still wonder why it cannot be implemented. Could even be a solution / combined with DBAL-369

@doctrinebot

Comment created by @beberlei:

See https://github.com/easybiblabs/EasyBib_DoctrineTypes for an implementation of PostgreSQL Hstore. Arrays can be implemented the same way.

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.