mirror of
https://github.com/postgres/postgres.git
synced 2025-07-11 10:01:57 +03:00
pgindent run for release 9.3
This is the first run of the Perl-based pgindent script. Also update pgindent instructions.
This commit is contained in:
@ -242,10 +242,12 @@ s{PG_VERSION_STR "[^"]+"}{__STRINGIFY(x) #x\n#define __STRINGIFY2(z) __STRINGIFY
|
||||
}
|
||||
|
||||
if (IsNewer(
|
||||
"src\\include\\pg_config_ext.h", "src\\include\\pg_config_ext.h.win32"))
|
||||
"src\\include\\pg_config_ext.h",
|
||||
"src\\include\\pg_config_ext.h.win32"))
|
||||
{
|
||||
print "Copying pg_config_ext.h...\n";
|
||||
copyFile("src\\include\\pg_config_ext.h.win32",
|
||||
copyFile(
|
||||
"src\\include\\pg_config_ext.h.win32",
|
||||
"src\\include\\pg_config_ext.h");
|
||||
}
|
||||
|
||||
@ -275,7 +277,9 @@ s{PG_VERSION_STR "[^"]+"}{__STRINGIFY(x) #x\n#define __STRINGIFY2(z) __STRINGIFY
|
||||
"perl -I ../catalog Gen_fmgrtab.pl ../../../src/include/catalog/pg_proc.h");
|
||||
chdir('..\..\..');
|
||||
}
|
||||
if (IsNewer('src\include\utils\fmgroids.h', 'src\backend\utils\fmgroids.h'))
|
||||
if (IsNewer(
|
||||
'src\include\utils\fmgroids.h',
|
||||
'src\backend\utils\fmgroids.h'))
|
||||
{
|
||||
copyFile('src\backend\utils\fmgroids.h',
|
||||
'src\include\utils\fmgroids.h');
|
||||
@ -712,15 +716,15 @@ use base qw(Solution);
|
||||
|
||||
sub new
|
||||
{
|
||||
my $classname = shift;
|
||||
my $self = $classname->SUPER::_new(@_);
|
||||
bless($self, $classname);
|
||||
my $classname = shift;
|
||||
my $self = $classname->SUPER::_new(@_);
|
||||
bless($self, $classname);
|
||||
|
||||
$self->{solutionFileVersion} = '12.00';
|
||||
$self->{vcver} = '11.00';
|
||||
$self->{visualStudioName} = 'Visual Studio 2012';
|
||||
$self->{solutionFileVersion} = '12.00';
|
||||
$self->{vcver} = '11.00';
|
||||
$self->{visualStudioName} = 'Visual Studio 2012';
|
||||
|
||||
return $self;
|
||||
return $self;
|
||||
}
|
||||
|
||||
1;
|
||||
|
Reference in New Issue
Block a user