From cb0aeaa85aa972964a813c085e479a713dafa140 Mon Sep 17 00:00:00 2001 From: rbt Date: Sun, 24 Jan 2010 20:01:07 +0000 Subject: [PATCH] Apply a fix to the function signatures that was reversing argument names. Patch created by Jyrki Muukkonen and submitted via Peter Eisentraut --- postgresql_autodoc.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/postgresql_autodoc.pl b/postgresql_autodoc.pl index 594eacb..b514eb9 100755 --- a/postgresql_autodoc.pl +++ b/postgresql_autodoc.pl @@ -1,6 +1,6 @@ #!/usr/bin/env perl # -- # -*- Perl -*-w -# $Header: /cvsroot/autodoc/autodoc/postgresql_autodoc.pl,v 1.28 2009/06/13 11:06:55 rbt Exp $ +# $Header: /cvsroot/autodoc/autodoc/postgresql_autodoc.pl,v 1.29 2010/01/24 20:01:07 rbt Exp $ # Imported 1.22 2002/02/08 17:09:48 into sourceforge # Postgres Auto-Doc Version 1.40 @@ -906,7 +906,7 @@ sub info_collect { my $parameter = ''; if ($argnames) { - $parameter .= sprintf( '%s ', pop( @{$argnames} ) ); + $parameter .= sprintf( '%s ', shift( @{$argnames} ) ); } if ( $hash->{'namespace'} ne $system_schema ) { -- 2.50.1