Content-Length: 275941 | pFad | http://github.com/postgrespro/postgres_cluster/commit/6f1f34c92b11593ec62ff3e12781eb96dc911821

35 Best-guess attempt at fixing MSVC build for 68ab8e8ba4a471d9. · postgrespro/postgres_cluster@6f1f34c · GitHub
Skip to content

Commit 6f1f34c

Browse files
committed
Best-guess attempt at fixing MSVC build for 68ab8e8.
pgbench now needs to use src/bin/psql/psqlscan.l, but it's not very clear how to fit that into the MSVC build system. If this doesn't work I'm going to need some help from somebody who actually understands those scripts ...
1 parent 68ab8e8 commit 6f1f34c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/tools/msvc/Mkvcbuild.pm

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,13 @@ my $frontend_extralibs = {
6262
'psql' => ['ws2_32.lib'] };
6363
my $frontend_extraincludes = {
6464
'initdb' => ['src/timezone'],
65-
'psql' => [ 'src/bin/pg_dump', 'src/backend' ] };
65+
'psql' => [ 'src/bin/pg_dump', 'src/backend' ],
66+
'pgbench' => [ 'src/bin/psql' ] };
6667
my $frontend_extrasource = {
6768
'psql' => ['src/bin/psql/psqlscan.l', 'src/bin/psql/psqlscanslash.l'],
6869
'pgbench' =>
69-
[ 'src/bin/pgbench/exprscan.l', 'src/bin/pgbench/exprparse.y' ], };
70+
[ 'src/bin/pgbench/exprscan.l', 'src/bin/pgbench/exprparse.y',
71+
'src/bin/psql/psqlscan.l' ] };
7072
my @frontend_excludes = (
7173
'pgevent', 'pg_basebackup', 'pg_rewind', 'pg_dump',
7274
'pg_xlogdump', 'scripts');

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/6f1f34c92b11593ec62ff3e12781eb96dc911821

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy