Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
haskell-bee
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
haskell-bee
Commits
7b5d816f
Verified
Commit
7b5d816f
authored
Oct 03, 2024
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[pgmq] initialize broker, it now can create schema automatically
parent
70b86467
Pipeline
#6743
failed with stages
in 11 minutes and 20 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
cabal.project
cabal.project
+2
-1
PGMQ.hs
src/Async/Worker/Broker/PGMQ.hs
+1
-1
No files found.
cabal.project
View file @
7b5d816f
...
...
@@ -8,6 +8,7 @@ packages:
source-repository-package
type: git
location: https://gitlab.iscpif.fr/gargantext/haskell-pgmq
tag:
fcb7d4fb811e5b7239078b48268c469c8d28fdf9
tag:
91f80083d6158d7a2543b394961cfef0417a1048
tests: true
src/Async/Worker/Broker/PGMQ.hs
View file @
7b5d816f
...
...
@@ -58,7 +58,7 @@ instance (SerializableMessage a, Show a) => MessageBroker PGMQBroker a where
-- https://www.postgresql.org/docs/current/libpq-notice-processing.html
withMVar
(
PSQLInternal
.
connectionHandle
conn
)
$
\
c
->
do
LibPQ
.
disableNoticeReporting
c
--
PGMQ.initialize conn
PGMQ
.
initialize
conn
pure
$
PGMQBroker'
{
conn
,
defaultVt
}
deinitBroker
(
PGMQBroker'
{
conn
})
=
PSQL
.
close
conn
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment