Skip to content

Event display updates to work with the database on a different host#33

Merged
brichards64 merged 2 commits intoToolDAQ:masterfrom
jini-zh:event-display
Dec 9, 2024
Merged

Event display updates to work with the database on a different host#33
brichards64 merged 2 commits intoToolDAQ:masterfrom
jini-zh:event-display

Conversation

@jini-zh
Copy link
Contributor

@jini-zh jini-zh commented Nov 14, 2024

We can now set environment variables PGHOST, PGUSER and PGDATABASE to control how cgi-bin/pmt-locations.cgi and cgi-bin/get-event.cgi connect to the database.

Also error checking in these scripts is updated to handle connection failures and other errors reported by psql (they have a different prefix).

Evgenii Zhemchugov added 2 commits November 14, 2024 15:02
@brichards64 brichards64 merged commit 9516cfb into ToolDAQ:master Dec 9, 2024
@jini-zh jini-zh deleted the event-display branch December 13, 2024 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants