]> granicus.if.org Git - postgis/commitdiff
Add support for dropping DOMAINs in create_undef.pl (#1407)
authorSandro Santilli <strk@keybit.net>
Sat, 24 Dec 2011 11:21:50 +0000 (11:21 +0000)
committerSandro Santilli <strk@keybit.net>
Sat, 24 Dec 2011 11:21:50 +0000 (11:21 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8561 b70326c6-7e19-0410-871a-916f4a2858ee

utils/create_undef.pl

index 432876415f32f6b4b26d4c99b736eaff7a3d7ba9..80f5b13770a81e843df085fc8a600d74c1dd057f 100755 (executable)
@@ -135,6 +135,9 @@ while( my $line = <INPUT>)
                        }
                }
        }
+       elsif ($line =~ /^create domain ([\w\.]+)/i) {
+               push (@types, $1);
+       }
        elsif ($line =~ /^create cast/i) {
                push (@casts, $line)
        }