Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Q quickfix
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 48
    • Issues 48
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 25
    • Merge requests 25
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • quickfixgo
  • quickfix
  • Issues
  • #487
Closed
Open
Issue created Apr 26, 2022 by bvrygud@bvrygud

postgres pgx driver not supported with placeholder function

Extract of fix config which I am working at

PersistMessages=Y
SQLStoreDriver=pgx
SQLStoreDataSourceName=postgres://pgxuser:pgxpass@localhost:5432/testdb

Using the above session settings is not able to initiate the session, having the postgres module as https://github.com/jackc/pgx which registers the driver as pgx https://github.com/lib/pq - This module registers the driver as postgres. pq repo is not active and they recommend using pgx driver.

postgresPlaceholder can be used only if the driver is postgres and does not support pgx. Code

	if store.sqlDriver == "postgres" {
		store.placeholder = postgresPlaceholder
	}
Assignee
Assign to
Time tracking