Fix for a small mistake in pgpool-recovery SQL script
authorMuhammad Usama <m.usama@gmail.com>
Thu, 13 Jan 2022 07:59:24 +0000 (12:59 +0500)
committerMuhammad Usama <m.usama@gmail.com>
Thu, 13 Jan 2022 08:01:02 +0000 (13:01 +0500)
src/sql/pgpool-recovery/pgpool-recovery.sql.in

index 1600de932a816b084abd123d70659420da56e215..a67c6d719a422cd13e587e2eac1f4bb7fe5a01be 100644 (file)
@@ -3,8 +3,8 @@ CREATE FUNCTION pgpool_recovery(IN script_name text,
           IN remote_data_directory text,
           IN primary_port text,
           IN remote_node integer,
-          IN remote_port text)
-          IN primary_host text,
+          IN remote_port text,
+          IN primary_host text)
 RETURNS bool
 AS 'MODULE_PATHNAME', 'pgpool_recovery'
 LANGUAGE C STRICT;