Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit326d73c

Browse files
committed
Second attempt at fixing MSVC build for68ab8e8.
After the previous fix in6f1f34c msvc ended up looking for psqlscan.cin the wrong directory.David's fix just forces the path to be adjusted. That's not aparticularly pretty fix, but it hopefully will make the buildfarm greenagain.Author: David RowleyDiscussion: CAKJS1f_9CCi_t+LEgV5GWoCj3wjavcMoDc5qfcf_A0UwpQoPoA@mail.gmail.com
1 parentb6afae7 commit326d73c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎src/tools/msvc/Mkvcbuild.pm

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ my $frontend_extrasource = {
7171
'src/bin/psql/psqlscan.l' ] };
7272
my@frontend_excludes = (
7373
'pgevent','pg_basebackup','pg_rewind','pg_dump',
74-
'pg_xlogdump','scripts');
74+
'pg_xlogdump','scripts','pgbench');
7575

7676
submkvcbuild
7777
{
@@ -674,6 +674,11 @@ sub mkvcbuild
674674
}
675675
$pg_xlogdump->AddFile('src/backend/access/transam/xlogreader.c');
676676

677+
# fix up pgbench once it's been set up
678+
# we're borrowing psqlscan.c from psql, so grab it from the correct place
679+
my$pgbench = AddSimpleFrontend('pgbench');
680+
$pgbench->ReplaceFile('src/bin/pgbench/psqlscan.c','src/bin/psql/psqlscan.c');
681+
677682
$solution->Save();
678683
return$solution->{vcver};
679684
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp