From dcc16fd568a6056bc1f41598abcb493d18973383 Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Fri, 12 Mar 2010 14:49:55 +0000 Subject: [PATCH 1/1] add support for keeping SCM type --- cgi-bin/pgstatus.pl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cgi-bin/pgstatus.pl b/cgi-bin/pgstatus.pl index 1fe9e7f..41d5c33 100755 --- a/cgi-bin/pgstatus.pl +++ b/cgi-bin/pgstatus.pl @@ -230,13 +230,14 @@ if (@config_flags) $config_flags = '{' . join(',',@config_flags) . '}' ; } +my $scm = $client_conf->{scm} || 'cvs'; my $logst = <prepare($logst); @@ -254,6 +255,7 @@ $sth->bind_param(10,$log_file_names); #$sth->bind_param(11,$log_archive,{ pg_type => DBD::Pg::PG_BYTEA }); $sth->bind_param(11,undef,{ pg_type => DBD::Pg::PG_BYTEA }); $sth->bind_param(12,$config_flags); +$sth->bind_param(13,$scm); $sth->execute; $sth->finish; -- 2.30.2