Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • H hivemind
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 60
    • Issues 60
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • hive
  • hivemind
  • Issues
  • #100

Closed
Open
Created Nov 11, 2020 by Wojciech Barcik@wbarcikMaintainer

Enable connecting to postgres server via unix socket

Unix socket is the quickest possible connection to postgres server, so it's important to enable this possibility in program. The method init in hive/server/db.py doesn't handle connection string enabling connection via unix socket, like this for instance:

postgresql+psycopg2://my_user:my_password@/my_dbname?host=/var/run/postgresql&port=5432

In other places in code connecting via unix sockets is handled correctly.

Edited Nov 11, 2020 by Wojciech Barcik
Assignee
Assign to
Time tracking