Skip to content

Commit 3fe5a8b

Browse files
Merge pull request #456 from diffix/cristian/misc
Require VS 2019 (or greater) for building on Windows.
2 parents a8a0380 + 9bbe7ab commit 3fe5a8b

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ The extension is also available on [PGXN](https://pgxn.org/dist/pg_diffix/), and
2727

2828
### Windows
2929

30-
You need Visual Studio 2022 installed with the "Desktop development with C++" option selected.
30+
You need Visual Studio 2019 (or greater) installed with the "Desktop development with C++" option selected.
3131
You also need to set the environment variable `PGROOT` to point to the location of the PostgreSQL installation.
3232

33-
You can compile the source from inside VS 2022, by opening the provided solution file, or from the command line,
34-
by opening a "Developer Command Prompt for VS 2022" terminal in the project's folder and executing `msbuild` (to do a
33+
You can compile the source from inside VS, by opening the provided solution file, or from the command line,
34+
by opening a "Developer Command Prompt for VS 20XX" terminal in the project's folder and executing `msbuild` (to do a
3535
release build, execute `msbuild -p:Configuration=Release`, to clean the build files, run `msbuild -t:Clean`).
3636

3737
The compiled extension is installed by running `install` (for debug version) or `install Release` (for release version).
@@ -126,9 +126,10 @@ The demo image extends the base image with a sample dataset and a user for each
126126

127127
Once started, the container creates and populates the `banking` database.
128128
Three users are created, all of them with password `demo`:
129-
- `trusted_user` with anonymized access to `banking` in trusted mode
130-
- `untrusted_user` with anonymized access to `banking` in untrusted mode
131-
- `direct_user` with direct (non-anonymized) access to `banking`
129+
130+
- `trusted_user` with anonymized access to `banking` in trusted mode
131+
- `untrusted_user` with anonymized access to `banking` in untrusted mode
132+
- `direct_user` with direct (non-anonymized) access to `banking`
132133

133134
**NOTE** The required file `docker/demo/01-banking-data.sql` is managed by [Git LFS](https://git-lfs.github.com).
134135

pg_diffix.vcxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@
7878
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
7979
<ConfigurationType>DynamicLibrary</ConfigurationType>
8080
<UseDebugLibraries>true</UseDebugLibraries>
81-
<PlatformToolset>v143</PlatformToolset>
81+
<PlatformToolset>v142</PlatformToolset>
8282
<CharacterSet>Unicode</CharacterSet>
8383
</PropertyGroup>
8484
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
8585
<ConfigurationType>DynamicLibrary</ConfigurationType>
8686
<UseDebugLibraries>false</UseDebugLibraries>
87-
<PlatformToolset>v143</PlatformToolset>
87+
<PlatformToolset>v142</PlatformToolset>
8888
<WholeProgramOptimization>true</WholeProgramOptimization>
8989
<CharacterSet>Unicode</CharacterSet>
9090
</PropertyGroup>

0 commit comments

Comments
 (0)