Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-1960

Add virtual mode support for postgresql using schemas

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2 RC1
    • Fix Version/s: 4.5-milestone-1
    • Component/s: Storage
    • Labels:
    • Documentation:
      N/A
    • Similar issues:

      Description

      Here is what is till missing to make it official support:

      Option 1, db per wiki (mysql style):

      • create the wiki database from XWiki. The workaround is to create the database by hand first and then create the wiki.
      • Proxy the db connection so that when we change the db, the actual TCP connection to the db changes without Hibernate knowing it. (Postgres requires a new TCP connection for a db change.)

      Option 2, schema per wiki (Oracle style):

      • Investigate why some queries query over all schemas rather than only the one which has been selected.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vmassol Vincent Massol
                Reporter:
                tmortagne Thomas Mortagne
              • Votes:
                4 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: