Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Drivers
    • Labels:
      None
    • Environment:
      Postgresql >= 8.4

      Description

      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

        Activity

        Brice Maron created issue -
        Hide
        Benjamin Eberlei added a comment -

        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.

        Show
        Benjamin Eberlei added a comment - 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.
        Benjamin Eberlei made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        Benjamin Eberlei made changes -
        Workflow jira [ 12593 ] jira-feedback2 [ 17717 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 17717 ] jira-feedback3 [ 20072 ]
        Hide
        Karsten Dambekalns added a comment -

        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?

        Show
        Karsten Dambekalns added a comment - 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?
        Hide
        Karsten Dambekalns added a comment -

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

        Show
        Karsten Dambekalns added a comment - Coming back to this and still wonder why it cannot be implemented. Could even be a solution / combined with DBAL-369
        Hide
        Benjamin Eberlei added a comment -

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

        Show
        Benjamin Eberlei added a comment - See https://github.com/easybiblabs/EasyBib_DoctrineTypes for an implementation of PostgreSQL Hstore. Arrays can be implemented the same way.

        This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

        • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DBAL-116, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Brice Maron
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: