From: Craig Ringer <craig@2ndquadrant.com>
To: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: [PATCHSET] Docs, old build files changes
Date: Thu, 03 Jul 2014 14:07:54 +0800
Message-ID: <53B4F33A.9040209@2ndquadrant.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
Hi all
I have a set of patches that should be able to be applied without any
real concern, to:
- Better document arch settings in windows compilation;
- Document MSDTC / PGXALIB.DLL tracing
- Delete the broken and old Make.bat (and delete MakeX64.bat too, which
works but is a THIRD way to build installers - I think powershell and
installer.mak is enough). Remove docs that refer to them.
- Eliminate the copy and paste coding in the powershell installer
creation scripts. Keep the same entry points, but share common code.
- Get rid of duplicate readme_winbuild.txt
- Remove stray "execute" bits
You can pull
windows-docs-build-patches for the changes or apply the attached with
"git am" (except the execute bits one).
I found getting started with psqlODBC rather confusing, because of all
the duplicated build options, some of which were broken. This should
help a little, though it still leaves NMake and Powershell. Sounds like
that can be dealt with after the 0904 release, but this should be safe
to patch in before 0904 to make the final 0904 release a bit tidier.
Thanks!
--
Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbcAttachments:download all (6 files, .tar.gz)0001-Document-build-opts-for-SDK-vs-VS-better.patch (text/x-patch, 1.1K) download
From d376de0157b101a814df9831b8362a59c519f215 Mon Sep 17 00:00:00 2001
From: Craig Ringer <craig@2ndquadrant.com>
Date: Thu, 3 Jul 2014 12:58:51 +0800
Subject: [PATCH 1/6] Document build opts for SDK vs VS better
---
docs/win32-compilation.html | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/docs/win32-compilation.html b/docs/win32-compilation.htmlindex f6aa30a..2372502 100644--- a/docs/win32-compilation.html+++ b/docs/win32-compilation.html@@ -55,8 +55,11 @@ Use NMAKE.exe to build the driver for the currently active target:<br><br>
<p>
Despite the name, win64.mak is used to build both 32-bit and 64-bit binaries.
-With the Microsoft SDK scripts, you can switch between 32-bit and 64-bit-target architectures with "setenv /x86" and "setenv /x64" commands.+With the Microsoft Windows SDK Command Prompt, you can switch between 32-bit+and 64-bit target architectures with <tt>setenv /x86</tt> and <tt>setenv+/x64</tt> commands. If using a Visual Studio Command Prompt you can start the+x86 or x64 versions from the Start menu, or run <tt>vcvarsall.bat</tt> with+appropriate options to switch architectures.
</p>
<p>
--
1.9.0
0002-Document-enabling-MSDTC-tracing.patch (text/x-patch, 3.0K) download
From caf10715e4f4e197dc04c4b29057fc7b8b66d419 Mon Sep 17 00:00:00 2001
From: Craig Ringer <craig@2ndquadrant.com>
Date: Thu, 3 Jul 2014 12:59:07 +0800
Subject: [PATCH 2/6] Document enabling MSDTC tracing
---
docs/msdtc_pgxalib_tracing_README.txt | 29 +++++++++++++++++++++++++++++
docs/msdtc_pgxalib_tracing_disable.reg | Bin 0 -> 238 bytes
docs/msdtc_pgxalib_tracing_enable.reg | Bin 0 -> 238 bytes
3 files changed, 29 insertions(+)
create mode 100644 docs/msdtc_pgxalib_tracing_README.txt
create mode 100644 docs/msdtc_pgxalib_tracing_disable.reg
create mode 100644 docs/msdtc_pgxalib_tracing_enable.reg
diff --git a/docs/msdtc_pgxalib_tracing_README.txt b/docs/msdtc_pgxalib_tracing_README.txtnew file mode 100644index 0000000..44e6697--- /dev/null+++ b/docs/msdtc_pgxalib_tracing_README.txt@@ -0,0 +1,29 @@+The files:++ msdtc_pgxalib_tracing_enable.reg+ msdtc_pgxalib_tracing_disable.reg++are Windows Registry Editor files that can be opened to add registry entries+that turn psqlODBC's tracing for the Microsoft Distributed Transaction+Co-Ordinator (MSDTC) on and off.++You must also create C:\pgdtclog and ensure NETWORKSERVICE has write+permissions. (It will by default on most Windows installs). At time of writing+the trace path is hard coded to this location.++This tracing is separate to regular ODBC API tracing and to psqlODBC's "mylog"+tracing. It only traces access to the XA transaction manager used by MSDTC when+doing XA transaction co-ordination. You probably only need this if you're+debugging issues with "In doubt" or "only failed to notify" transactions in+MSDTC.+++If you're tracing XA transactions in MSDTC you probably also want to trace+MSDTC its self. For that, see:++http://msdn.microsoft.com/en-us/library/ms684379(v=vs.85).aspx+http://msdn.microsoft.com/en-us/library/ms678917(v=vs.85).aspx++Tests suggest that only some SDKs' versions of the tracefmt.exe tool required+will work - I found that Windows SDK 7.1's worked, but Visual Studio Express+for Desktop 2012's didn't. Your results may vary.diff --git a/docs/msdtc_pgxalib_tracing_disable.reg b/docs/msdtc_pgxalib_tracing_disable.regnew file mode 100644index 0000000000000000000000000000000000000000..970325ffb7105e5ac9df5a7f79768318621762cfGIT binary patch
literal 238
zcmXwzOA5k35Cv;3cn9$SAsd%2{G#}Y8Zn5GEL0>L112C|UM(XsG&Aqj>*;>K5^`>w
zDR@xQV#9^2UP;BBr_M;4s|t0Co%}A%)i-sAfY8&VQP+V9Gkf-A%!wG#^Uhd!4`fr8
z(v(;>W=o>Kshx-+eKV=#_xfgIGeO-om8_il-R$ZP7unjskM-QP6G}I&IO!E8+H|eZ
H`tSAucM~Ov
literal 0
HcmV?d00001
diff --git a/docs/msdtc_pgxalib_tracing_enable.reg b/docs/msdtc_pgxalib_tracing_enable.regnew file mode 100644index 0000000000000000000000000000000000000000..6ead24077c42f1fd3f6cc3b9033a476caf3318bfGIT binary patch
literal 238
zcmXwzNeaS15Jlfw@D7p#h%Q{ZaKzvcCloP~g@%xg0V9Z)SDz7Sithj4udaH(_T*f-
zQ1GCn!J3pzujI~+r_M;4s|t04o%|-v)mL?gCM{2$T2)6TOzk<4Fe73>&pTo6J&=Vg
zq%j-Wm@Rw#b>&11>6?iqzt=arG1IKNLdnvp-_0_2NM$SkK2>uACzNh_=d4$l2<TdE
H>%ZFvcONB+
literal 0
HcmV?d00001
--
1.9.0
0003-Remove-obsolete-.bat-installer-creators.patch (text/x-patch, 9.1K) download
From 426bae1cff3f64e2f0ceee2865755f143bccd31d Mon Sep 17 00:00:00 2001
From: Craig Ringer <craig@2ndquadrant.com>
Date: Thu, 3 Jul 2014 13:56:44 +0800
Subject: [PATCH 3/6] Remove obsolete .bat installer creators
---
installer/Make.bat | 87 -------------------------
installer/MakeX64.bat | 174 --------------------------------------------------
installer/README.txt | 42 +++++++++---
3 files changed, 33 insertions(+), 270 deletions(-)
delete mode 100755 installer/Make.bat
delete mode 100755 installer/MakeX64.bat
diff --git a/installer/Make.bat b/installer/Make.batdeleted file mode 100755index 0bb5366..0000000--- a/installer/Make.bat+++ /dev/null@@ -1,87 +0,0 @@-@echo off--:: Values to change include VERSION and SUBLOC, both below.--setlocal-SET X86PROGRAMFILES=%ProgramFiles%--if "%PROCESSOR_ARCHITECTURE%" == "x86" GOTO SET_LINKFILES-SET X86PROGRAMFILES=%ProgramFiles(x86)%--:SET_LINKFILES-:: echo X86PROGRAMFILES=%X86PROGRAMFILES%-::-:: When you reference PG server's libpq related dlls, set the-:: version to the variable PGVERSION (default 9.3) and call-:: this batch file.-::-if "%PGVERSION%" == "" SET PGVERSION=9.3-::-:: When you placed libpq related dlls in the folder other than-:: the default one, set the folder name to the variable LIBPQBINDIR-:: and call this batch file.-::-if "%LIBPQBINDIR%" == "" (- SET LINKFILES="%X86PROGRAMFILES%\PostgreSQL\%PGVERSION%\bin"- ) else (- SET LINKFILES="%LIBPQBINDIR%"- )--if NOT "%1"=="" (- SET VERSION="%1"- GOTO GOT_VERSION-)--::-:: The ProductCode History-:: ProductCode must be changed in case of major upgrade-::-SET PRODUCTID["09.02.0100"]="838E187D-8B7A-473d-B93C-C8E970B15D2B"-SET PRODUCTID["09.03.0100"]="D3527FA5-9C2B-4550-A59B-9534A78950F4"-SET PRODUCTID["09.03.0200"]="D3527FA5-9C2B-4550-A59B-9534A78950F4"-SET PRODUCTID["09.03.0210"]="D3527FA5-9C2B-4550-A59B-9534A78950F4"-SET PRODUCTID["09.03.0300"]="D3527FA5-9C2B-4550-A59B-9534A78950F4"--:: The full version number of the build in XXXX.XX.XX format-SET VERSION="09.03.0300"-echo.-echo Version not specified - defaulting to %VERSION%-echo.--:GOT_VERSION--:: The subdirectory to install into-SET SUBLOC=%VERSION:~1,2%%VERSION:~4,2%--CALL SET PRODUCTCODE=%%PRODUCTID[%VERSION%]%%-echo PRODUCTCODE=%PRODUCTCODE%--echo.-echo Building psqlODBC/%SUBLOC% merge module...--candle -nologo -dPlatform="x86" -dVERSION=%VERSION% -dSUBLOC=%SUBLOC% -dLIBPQBINDIR=%LINKFILES% -o psqlodbcm.wixobj psqlodbcm_cpu.wxs-IF ERRORLEVEL 1 GOTO ERR_HANDLER--light -nologo -out psqlodbc.msm psqlodbcm.wixobj-IF ERRORLEVEL 1 GOTO ERR_HANDLER--echo.-echo Building psqlODBC installer database...--candle -nologo -dPlatform="x86" -dVERSION=%VERSION% -dSUBLOC=%SUBLOC% -dPRODUCTCODE="%PRODUCTCODE%" -o psqlodbc.wixobj psqlodbc_cpu.wxs-IF ERRORLEVEL 1 GOTO ERR_HANDLER--light -nologo -ext WixUIExtension -cultures:en-us psqlodbc.wixobj-IF ERRORLEVEL 1 GOTO ERR_HANDLER--echo.-echo Done!-GOTO EXIT--:ERR_HANDLER-echo.-echo Aborting build!-GOTO EXIT--:EXIT-endlocaldiff --git a/installer/MakeX64.bat b/installer/MakeX64.batdeleted file mode 100755index 960b13d..0000000--- a/installer/MakeX64.bat+++ /dev/null@@ -1,174 +0,0 @@-@echo off-setlocal--rem-rem The 64bit installer-rem-set CPUTYPE=x64--rem-rem Set yes when clean operations are needed-rem-set CLEANUP=no-rem-rem Set yes so as to build dlls before making the installer-rem-set DLLBUILD=no--:getparam-set para=%1-echo para="%para%"-if /i "%para:~1%" == "Drivers" (- if "%para:~0,1%" == "+" set DLLBUILD=yes- shift- goto getparam-) else if /i "%para%" == "clean" (- set CLEANUP=yes- shift- goto getparam-)--if "%CLEANUP%" == "yes" GOTO CLEAN--rem-rem psqlodbc dlls build options-rem-if "%USE_LIBPQ%" == "" (- SET USE_LIBPQ=yes-)-if "%USE_GSS%" == "" (- SET USE_GSS=no-)-if "%USE_SSPI%" == "" (- SET USE_SSPI=yes-)--::-:: Please specify the foler name where you placed libpq related dlls.-:: Currently not used.-::-if "%PGVERSION%" == "" SET PGVERSION=9.3-if "%USE_LIBPQ%" == "yes" (- if "%LIBPQBINDIR%" == "" (- if "%PROCESSOR_ARCHITECTURE%" == "AMD64" (- SET LIBPQBINDIR="%ProgramFiles%\PostgreSQL\%PGVERSION%\bin"- ) else (- echo You are setting USE_LIBPQ=%USE_LIBPQ%- echo Please specify LIBPQBINDIR variable- echo Press any key to exit ...- pause > nul- exit- )- )- echo LIBPQBINDIR=%LIBPQBINDIR%-)--rem-rem Please specify the foler name where you placed GSSAPI related dlls.-rem-if "%USE_GSS%" == "yes" (- if "%GSSBINDIR%" == "" (- echo You are setting USE_GSS=%USE_GSS%- echo Please specify GSSBINDIR variable- echo Press any key to exit ...- pause > nul- exit- )- echo GSSBINDIR=%GSSBINDIR%-)--rem-rem Build binaries if necessary-rem-set origdir=%CD%-if "%DLLBUILD%" == "yes" (-cd ..-nmake /f win64.mak USE_LIBPQ=%USE_LIBPQ% USE_SSPI=%USE_SSPI% USE_GSS=%USE_GSS%-nmake /f win64.mak ANSI_VERSION=yes USE_LIBPQ=%USE_LIBPQ% USE_SSPI=%USE_SSPI% USE_GSS=%USE_GSS%-)-cd %origdir%--set wix_dir="%WIX%bin"-echo wix_dir=%wix_dir%--rem Values to change include VERSION and SUBLOC, both below.--if NOT "%1"=="" SET VERSION="%1"-if NOT "%1"=="" GOTO GOT_VERSION-GOTO NORMAL_EXEC--:CLEAN-echo.-echo cleaning derived files-echo.-del %CPUTYPE%\psqlodbc*.wix* %CPUTYPE%\psqlodbc*.ms*-if "%DLLBUILD%" == "yes" (-cd ..-nmake /f win64.mak clean-nmake /f win64.mak ANSI_VERSION=yes clean-)-GOTO EXIT--:NORMAL_EXEC-REM The full version number of the build in XXXX.XX.XX format-SET VERSION="09.03.0300"--echo.-echo Version not specified - defaulting to %VERSION%-echo.--:GOT_VERSION--if not exist %CPUTYPE%\ mkdir %CPUTYPE%--:: The subdirectory to install into-SET SUBLOC=%VERSION:~1,2%%VERSION:~4,2%--::-:: ProductCode History-:: ProductCode must be changed in case of major upgrade-::-SET PRODUCTID["09.02.0100"]="3E42F836-9204-4c42-B3C3-8680A0434875"-SET PRODUCTID["09.03.0100"]="1F896F2F-5756-4d22-B5A3-040796C9B485"-SET PRODUCTID["09.03.0200"]="1F896F2F-5756-4d22-B5A3-040796C9B485"-SET PRODUCTID["09.03.0210"]="1F896F2F-5756-4d22-B5A3-040796C9B485"-SET PRODUCTID["09.03.0300"]="1F896F2F-5756-4d22-B5A3-040796C9B485"--CALL SET PRODUCTCODE=%%PRODUCTID[%VERSION%]%%--echo.-echo Building psqlODBC/%SUBLOC% merge module...--%wix_dir%\candle.exe -nologo -dPlatform="%CPUTYPE%" -dVERSION=%VERSION% -dSUBLOC=%SUBLOC% -dLIBPQBINDIR=%LIBPQBINDIR% -dGSSBINDIR=%GSSBINDIR% -o %CPUTYPE%\psqlodbcm.wixobj psqlodbcm_cpu.wxs-IF ERRORLEVEL 1 GOTO ERR_HANDLER--echo Linking psqlODBC merge module...-%wix_dir%\light -nologo -o %CPUTYPE%\psqlodbc_%CPUTYPE%.msm %CPUTYPE%\psqlodbcm.wixobj-IF ERRORLEVEL 1 GOTO ERR_HANDLER--echo.-echo Building psqlODBC installer database...--%wix_dir%\candle.exe -nologo -dPlatform="%CPUTYPE%" -dVERSION=%VERSION% -dSUBLOC=%SUBLOC% -dPRODUCTCODE=%PRODUCTCODE% -o %CPUTYPE%\psqlodbc.wixobj psqlodbc_cpu.wxs-IF ERRORLEVEL 1 GOTO ERR_HANDLER--echo Linking psqlODBC installer database...-%wix_dir%\light -nologo -ext WixUIExtension -cultures:en-us -o %CPUTYPE%\psqlodbc_%CPUTYPE%.msi %CPUTYPE%\psqlodbc.wixobj-IF ERRORLEVEL 1 GOTO ERR_HANDLER--echo.-echo Modifying psqlODBC installer database...-cscript modify_msi.vbs %CPUTYPE%\psqlodbc_%CPUTYPE%.msi-IF ERRORLEVEL 1 GOTO ERR_HANDLER--echo.-echo Done!-GOTO EXIT--:ERR_HANDLER-echo.-echo Aborting build!-GOTO EXIT--:EXIT-endlocaldiff --git a/installer/README.txt b/installer/README.txtindex 8c2854d..3c560ae 100644--- a/installer/README.txt+++ b/installer/README.txt@@ -1,17 +1,41 @@
This directory contains the psqlODBC installer for Windows. To build the
installer, you will need a copy of WiX installed somewhere in your system
-path. The installer has been tested with WiX version 3.0.2420 only at the-time writing. WiX may be downloaded from:+path. The installer has been tested with WiX version 3.0.2420 and WiX 3.8 at+the time writing.++WiX may be downloaded from:
http://wix.codeplex.com/
-In order to build the installer, first ensure that a suitable binary is in-the $SRC\Release directory, then, from the $SRC\Installer directory run:-C:\psqlODBC\Installer> make 09.02.0100+Two parallel systems to build the installers are currently provided:++POWERSHELL BASED+----------++Ensure that suitable binaries are in the parent directory Release build outputs+(see ..\winbuild for that). ++ .\BuildX64Installer.ps1++ .\BuildX86Installer.ps1++For help:++ Get-Help .\BuildX64Installer.ps1++If you get execution policy errors:++ Set-ExecutionPolicy RemoteSigned++and try again.++Note that these installer generators use the configuration prepared by the+PowerShell scripts in ..\winbuild, defaulting to ..\winbuild\configuration.xml,+so you can't just mix them with SDK- or NMake based compilation.-The version number will default to a value set in the Make.bat batch file if-not specified on the command line. 2 files will be built:+NMAKE BASED+------------psqlodbc.msm - A merge module for use in other projects.-psqlodbc.msi - A Windows Installer package for standalone use.+Use the top-level file (win64.mak), per the documentation in+docs/win32-compilation.html, to build installers using NMake.--
1.9.0
0004-Get-rid-of-copy-and-paste-code-in-installer.patch (text/x-patch, 3.6K) download
From bf0227a105c38e37f62048804c092857edb0dcf4 Mon Sep 17 00:00:00 2001
From: nobody <noemail@blah>
Date: Thu, 3 Jul 2014 05:54:50 +0000
Subject: [PATCH 4/6] Get rid of copy and paste code in installer/
The powershell scripts had lots of duplication. Share the same
common code instead.
---
installer/build-installer-common.ps1 | 116 +++++++++++++++++++++++++++++++++++
1 file changed, 116 insertions(+)
create mode 100644 installer/build-installer-common.ps1
diff --git a/installer/build-installer-common.ps1 b/installer/build-installer-common.ps1new file mode 100644index 0000000..a8e21a2--- /dev/null+++ b/installer/build-installer-common.ps1@@ -0,0 +1,116 @@+if (! $configInfo)+{+ throw "Run buildX64-installer.ps1 or buildX86installer.ps1 instead";+}++$VERSION = $configInfo.Configuration.version++$archinfo = $configInfo.Configuration.$CPUTYPE++$LIBPQVER=$archinfo.libpq.version+if ($LIBPQVER -eq "") {+ $LIBPQVER=$LIBPQ_VERSION+}++$USE_LIBPQ=$archinfo.use_libpq++if ($CPUTYPE -eq "x64")+{+ if ($USE_LIBPQ -eq "yes")+ {+ $LIBPQBINDIR=$archinfo.libpq.bin+ if ($LIBPQBINDIR -eq "default") {+ if ($env:PROCESSOR_ARCHITECTURE -ne "x86") {+ $pgmfs = "$env:ProgramFiles"+ $LIBPQBINDIR = "$pgmfs\PostgreSQL\$LIBPQVER\bin"+ }+ elseif ("${env:ProgramW6432}" -ne "") {+ $pgmfs = "$env:ProgramW6432"+ $LIBPQBINDIR = "$pgmfs\PostgreSQL\$LIBPQVER\bin"+ }+ }+ }+ +}+elseif ($CPUTYPE -eq "x86")+{+ if ($USE_LIBPQ -eq "yes")+ {+ $LIBPQBINDIR=$archinfo.libpq.bin+ if ($env:PROCESSOR_ARCHITECTURE -eq "x86") {+ $pgmfs = "$env:ProgramFiles"+ } else {+ $pgmfs = "${env:ProgramFiles(x86)}"+ }+ if ($LIBPQBINDIR -eq "default") {+ $LIBPQBINDIR = "$pgmfs\PostgreSQL\$LIBPQVER\bin"+ }+ }++}+else+{+ throw "Unknown CPU type $CPUTYPE";+}++$USE_SSPI=$archinfo.use_sspi++$USE_GSS=$archinfo.use_gss+if ($USE_GSS -eq "yes")+{+ $GSSBINDIR=$archinfo.gss.bin+}++Write-Host "VERSION : $VERSION"+Write-Host "USE LIBPQ : $USE_LIBPQ ($LIBPQBINDIR)"+Write-Host "USE GSS : $USE_GSS ($GSSBINDIR)"+Write-Host "USE SSPI : $USE_SSPI"++if ($env:WIX -ne "")+{+ $wix = "$env:WIX"+ $env:Path += ";$WIX/bin"+}+# The subdirectory to install into+$SUBLOC=$VERSION.substring(0, 2) + $VERSION.substring(3, 2)++if (!(Test-Path -Path $CPUTYPE)) {+ New-Item -ItemType directory -Path $CPUTYPE+}++$PRODUCTCODE=$PRODUCTID[$VERSION]+if ("$PRODUCTCODE" -eq "") {+ Write-Host "`nSpecify the ProductCode for the VERSION $VERSION"+ return+}+Write-Host "PRODUCTCODE: $PRODUCTCODE"++try {+ pushd $scriptPath++ Write-Host ".`nBuilding psqlODBC/$SUBLOC merge module..."++ invoke-expression "candle -nologo -dPlatform=$CPUTYPE `"-dVERSION=$VERSION`" -dSUBLOC=$SUBLOC `"-dLIBPQBINDIR=$LIBPQBINDIR`" `"-dGSSBINDIR=$GSSBINDIR`" -o $CPUTYPE\psqlodbcm.wixobj psqlodbcm_cpu.wxs"++ Write-Host ".`nLinking psqlODBC merge module..."+ invoke-expression "light -nologo -o $CPUTYPE\psqlodbc_$CPUTYPE.msm $CPUTYPE\psqlodbcm.wixobj"++ Write-Host ".`nBuilding psqlODBC installer database..."++ invoke-expression "candle -nologo -dPlatform=$CPUTYPE `"-dVERSION=$VERSION`" -dSUBLOC=$SUBLOC `"-dPRODUCTCODE=$PRODUCTCODE`" -o $CPUTYPE\psqlodbc.wixobj psqlodbc_cpu.wxs"++ Write-Host ".`nLinking psqlODBC installer database..."+ invoke-expression "light -nologo -ext WixUIExtension -cultures:en-us -o $CPUTYPE\psqlodbc_$CPUTYPE.msi $CPUTYPE\psqlodbc.wixobj"++ Write-Host ".`nModifying psqlODBC installer database..."+ invoke-expression "cscript modify_msi.vbs $CPUTYPE\psqlodbc_$CPUTYPE.msi"++ Write-Host ".`nDone!"+}+catch {+ Write-Host ".`Aborting build!"+ throw $error[0]+}+finally {+ popd+}--
1.9.0
0005-Remove-the-duplicate-winbuild-readme.patch (text/x-patch, 2.4K) download
From e20b3e9863778ea4686502e2b8041aef07ca5568 Mon Sep 17 00:00:00 2001
From: Craig Ringer <craig@2ndquadrant.com>
Date: Thu, 3 Jul 2014 14:03:19 +0800
Subject: [PATCH 5/6] Remove the duplicate winbuild readme
---
readme_winbuild.txt | 63 ++---------------------------------------------------
1 file changed, 2 insertions(+), 61 deletions(-)
mode change 100755 => 100644 readme_winbuild.txt
diff --git a/readme_winbuild.txt b/readme_winbuild.txtold mode 100755new mode 100644index 3f079fb..1b5d9f5--- a/readme_winbuild.txt+++ b/readme_winbuild.txt@@ -1,62 +1,3 @@-/********************************************************************+See docs\win32-compilation.html and winbuild\readme.txt for Windows compilation instructions.- BuildAll.bat - A Windows batch script to build all dlls for psqlodbc.-- You can also use the same functionality using Powershell at winbuild folder.- See .\winbuild\readme.txt.-- 1. You have to install one of the following.-- . Visual Studio 2013 non-Express edtion or Express 2013 for Windows- Desktop- . Visual Studio 2012 non-Express edtion or Express 2012 for Windows- Desktop- . Full Microsoft Visual C++ 2010- . Windows SDK 7.1-- You have to include x64 development tools (bin, lib, include) as- well as x86 ones for the installation.--- Please start a command prompt and-- 2. Set the ExecutionPolicy of Powershell to RemoteSigned or Unrestricted.- You can get the ExecutionPolicy by typing-- powershell Get-ExecutionPolicy-- When the ExectionPolicy is "Restricted" or "AllSigned" then type e.g.-- powershell Set-ExecutionPolicy RemoteSigned-- To see details about ExecutionPolicy, type-- powershell Get-Help about_Execution_Policies-- 3. Please type-- .\editConfiguration(.bat)-- and edit the setting of your environment especially the folders- you placed libpq/Openssl related include/lib files.-- 4. Please type-- .\BuildAll(.bat)-- to invoke build operations.- If the automatically selected VisualStudioVersion is inappropriate- and the desired version is e.g. 11.0, type-- .\BuildAll(.bat) -V(CVersion) 11.0-- or set the value 11.0 to Configuration.vcver attribute of the- configuration file.-- To see details about the use of BuildAll, type-- .\BuildAll(.bat) /?-- .--***********************************************************************/+For info on building installers, see installer\README.txt--
1.9.0
0006-Remove-stray-x-bits.patch (text/x-patch, 1.5K) download
From dd396f337953cbb2d2b66dbc8128361672b3b489 Mon Sep 17 00:00:00 2001
From: Craig Ringer <craig@2ndquadrant.com>
Date: Thu, 3 Jul 2014 14:04:20 +0800
Subject: [PATCH 6/6] Remove stray +x bits
---
msdtc_enlist.cpp | 0
pgxalib.cpp | 0
winbuild/configuration_template.xml | 0
winbuild/pgxalib.vcxproj | 0
winbuild/platformbuild.vcxproj | 0
winbuild/psqlodbc.vcxproj | 0
winbuild/readme.txt | 0
7 files changed, 0 insertions(+), 0 deletions(-)
mode change 100755 => 100644 msdtc_enlist.cpp
mode change 100755 => 100644 pgxalib.cpp
mode change 100755 => 100644 winbuild/configuration_template.xml
mode change 100755 => 100644 winbuild/pgxalib.vcxproj
mode change 100755 => 100644 winbuild/platformbuild.vcxproj
mode change 100755 => 100644 winbuild/psqlodbc.vcxproj
mode change 100755 => 100644 winbuild/readme.txt
diff --git a/msdtc_enlist.cpp b/msdtc_enlist.cppold mode 100755new mode 100644diff --git a/pgxalib.cpp b/pgxalib.cppold mode 100755new mode 100644diff --git a/winbuild/configuration_template.xml b/winbuild/configuration_template.xmlold mode 100755new mode 100644diff --git a/winbuild/pgxalib.vcxproj b/winbuild/pgxalib.vcxprojold mode 100755new mode 100644diff --git a/winbuild/platformbuild.vcxproj b/winbuild/platformbuild.vcxprojold mode 100755new mode 100644diff --git a/winbuild/psqlodbc.vcxproj b/winbuild/psqlodbc.vcxprojold mode 100755new mode 100644diff --git a/winbuild/readme.txt b/winbuild/readme.txtold mode 100755new mode 100644--
1.9.0
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: craig@2ndquadrant.com
Subject: Re: [PATCHSET] Docs, old build files changes
In-Reply-To: <53B4F33A.9040209@2ndquadrant.com>
References: <53B4F33A.9040209@2ndquadrant.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox