Skip to content

Commit

Permalink
revert postgres to non-multiplexed
Browse files Browse the repository at this point in the history
  • Loading branch information
fairclothjm committed Feb 14, 2022
1 parent 774606a commit 82813ee
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ func main() {

// Run instantiates a PostgreSQL object, and runs the RPC server for the plugin
func Run() error {
dbplugin.ServeMultiplex(postgresql.New)
dbType, err := postgresql.New()
if err != nil {
return err
}

dbplugin.Serve(dbType.(dbplugin.Database))

return nil
}

0 comments on commit 82813ee

Please sign in to comment.