Losing connection to the server when using PG Routing function pgr_alphaShapes


I am running PG Routing v. 3.0 on Postgresql 12.2 and the pgr_alphaShapes function is giving me a lot of trouble. Following the documentation here, I passed a geometry and a spoon radius.

SELECT *  FROM pgr_alphaShape( (SELECT ST_Collect(geom) FROM road_nodes), 1.5); 

When I run the query in pgAdmin 4, I get the following error:

Connection to the server has been lost. 

After getting this I ran my ST_Collect(geom) FROM road_nodes query with no problem. I tried running the query in DBeaver as well. There, I received the following error:

SQL Error [57P03]: FATAL: the database system is in recovery mode 

Clicking on “more details” reveals the following log:

org.jkiss.dbeaver.model.impl.jdbc.JDBCException: SQL Error [57P03]: FATAL: the database system is in recovery mode at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCConnectionImpl.prepareStatement(JDBCConnectionImpl.java:197) at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCConnectionImpl.prepareStatement(JDBCConnectionImpl.java:1) at org.jkiss.dbeaver.model.DBUtils.createStatement(DBUtils.java:1323) at org.jkiss.dbeaver.model.DBUtils.makeStatement(DBUtils.java:1291) at org.jkiss.dbeaver.ui.editors.sql.execute.SQLQueryJob.executeStatement(SQLQueryJob.java:467) at org.jkiss.dbeaver.ui.editors.sql.execute.SQLQueryJob.lambda$  0(SQLQueryJob.java:426) at org.jkiss.dbeaver.model.exec.DBExecUtils.tryExecuteRecover(DBExecUtils.java:170) at org.jkiss.dbeaver.ui.editors.sql.execute.SQLQueryJob.executeSingleQuery(SQLQueryJob.java:418) at org.jkiss.dbeaver.ui.editors.sql.execute.SQLQueryJob.extractData(SQLQueryJob.java:778) at org.jkiss.dbeaver.ui.editors.sql.SQLEditor$  QueryResultsContainer.readData(SQLEditor.java:2942) at org.jkiss.dbeaver.ui.controls.resultset.ResultSetJobDataRead.lambda$  0(ResultSetJobDataRead.java:111) at org.jkiss.dbeaver.model.exec.DBExecUtils.tryExecuteRecover(DBExecUtils.java:170) at org.jkiss.dbeaver.ui.controls.resultset.ResultSetJobDataRead.run(ResultSetJobDataRead.java:109) at org.jkiss.dbeaver.ui.controls.resultset.ResultSetViewer$  17.run(ResultSetViewer.java:3580) at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:103) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) Caused by: org.postgresql.util.PSQLException: FATAL: the database system is in recovery mode at org.postgresql.Driver$  ConnectThread.getResult(Driver.java:405) at org.postgresql.Driver.connect(Driver.java:263) at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.lambda$  0(JDBCDataSource.java:166) at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.openConnection(JDBCDataSource.java:185) at org.jkiss.dbeaver.ext.postgresql.model.PostgreDataSource.openConnection(PostgreDataSource.java:325) at org.jkiss.dbeaver.model.impl.jdbc.JDBCExecutionContext.connect(JDBCExecutionContext.java:95) at org.jkiss.dbeaver.model.impl.jdbc.JDBCExecutionContext.connect(JDBCExecutionContext.java:80) at org.jkiss.dbeaver.model.impl.jdbc.JDBCExecutionContext.getConnection(JDBCExecutionContext.java:186) at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCConnectionImpl.getOriginal(JDBCConnectionImpl.java:60) at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCConnectionImpl.prepareStatement(JDBCConnectionImpl.java:244) at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCConnectionImpl.prepareStatement(JDBCConnectionImpl.java:146) ... 15 more 

I am unsure of what steps I should take next to get the function working.