From 70546895cdffa7b0845fb014f54014c63a06d439 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Fri, 21 Oct 2022 19:48:02 -0700 Subject: [PATCH] Columns in index might be quoted https://sourceforge.net/p/webadmin/bugs/5588/ --- postgresql/postgresql-lib.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/postgresql/postgresql-lib.pl b/postgresql/postgresql-lib.pl index f8ac3f57f..a5de1a21b 100755 --- a/postgresql/postgresql-lib.pl +++ b/postgresql/postgresql-lib.pl @@ -1013,6 +1013,9 @@ if ($info->{'create'} =~ /using\s+(\S+)\s/) { } if ($info->{'create'} =~ /\((.*)\)/) { $info->{'cols'} = [ split(/\s*,\s*/, $1) ]; + foreach my $c (@{$info->{'cols'}}) { + $c =~ s/^"(.*)"$/$1/; + } } return $info;