Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow authentication to postgis working copy using PostgreSQL Service connection file #111

Open
wdcsimon opened this issue Aug 7, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@wdcsimon
Copy link

wdcsimon commented Aug 7, 2024

Allow authentication to a Kart working copy location in PostgreSQL using a PostgreSQL Service connection file defined in PGSERVICEFILE environment variable.

PGSERVICEFILE D:\PostgreSQL\pg_service.conf

[gis_kart_versioning]
host=wdc-gisdb1
port=5432
dbname=gis_kart_versioning
user=myUsername
password=myPassword
  • Something like this?
    kart init K:\gis_kart_versioning\eplan --workingcopy=postgresql://wdcgisdb1?service=gis_kart_versioning

  • May need to specify schema as a param too?

reference: https://docs.qgis.org/3.34/en/docs/user_manual/managing_data_source/opening_data.html#pg-service-file

@wdcsimon wdcsimon added the enhancement New feature or request label Aug 7, 2024
@wdcsimon
Copy link
Author

wdcsimon commented Aug 7, 2024

Would also be useful for Import dataset from database... option

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant