forked from postgis/postgis
Tweak editorconfig for postgis_proc_upgrade.pl and indent it properly
It looks like most lines are using 4-spaces indent, make that official and tweak the non-conforming lines (53 lines over 580 total lines) git-svn-id: http://svn.osgeo.org/postgis/trunk@17873 b70326c6-7e19-0410-871a-916f4a2858eesvn-3.0
parent
7e7a2ec19f
commit
da1ea27f20
|
@ -21,6 +21,11 @@ indent_style = tab
|
|||
[*.pl]
|
||||
indent_style = tab
|
||||
|
||||
# Exception: utils/postgis_proc_upgrade.pl uses 4-spaces indent
|
||||
[utils/postgis_proc_upgrade.pl]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
# SQL files want tab indentation
|
||||
[*.{sql,sql.in}]
|
||||
indent_style = tab
|
||||
|
|
|
@ -272,7 +272,6 @@ EOF
|
|||
|
||||
my $pg12_def = $def;
|
||||
$pg12_def =~ s/CREATE AGGREGATE/CREATE OR REPLACE AGGREGATE/;
|
||||
|
||||
if ($pg12_def eq "")
|
||||
{
|
||||
$pg12_def = "RAISE EXCEPTION 'Could not parse AGGREGATE'";
|
||||
|
|
Loading…
Reference in New Issue