Thread: pre-vcbuild win32 install docs incorrect

pre-vcbuild win32 install docs incorrect

From
Magnus Hagander
Date:
This patch fixes a really bad recommendation that's not been removed
from the client-only installation instructions. We removed this
recommendation as of 8.1, but it's still included in the documentation :-(

Please consider back-patching this into the 8.1 and 8.2 version of the
documentation, as it's something we really don't want people to do.

I came across this while looking at how to update that documentation to
deal with the new VC++ build stuff. I can't quite decide on how to do
that yet - do people have any strong opinions on if the new vcbuild
stuff should go in the documentation proper, or stay in
src/tools/msvc/README?


//Magnus
Index: doc\src\sgml/install-win32.sgml
===================================================================
RCS file: c:/prog/cvsrepo/pgsql/pgsql/doc/src/sgml/install-win32.sgml,v
retrieving revision 1.29
diff -c -r1.29 install-win32.sgml
*** doc\src\sgml/install-win32.sgml    16 Sep 2006 00:30:14 -0000    1.29
--- doc\src\sgml/install-win32.sgml    2 Feb 2007 09:07:48 -0000
***************
*** 106,115 ****
   </para>

   <para>
!   The only file that really needs to be installed is the
!   <filename>libpq.dll</filename> library.  This file should in most
!   cases be placed in the <filename>WINNT\SYSTEM32</filename> directory
!   (or in <filename>WINDOWS\SYSTEM</filename> on a Windows 95/98/ME
    system).  If this file is installed using a setup program, it should
    be installed with version checking using the
    <symbol>VERSIONINFO</symbol> resource included in the file, to
--- 106,116 ----
   </para>

   <para>
!   Normally you do not need to install any of the client files. You should
!   place the <filename>libpq.dll</filename> file in the same directory
!   as your applications .EXE-file. Only if this is for some reason not
!   possible should you install it in the <filename>WINNT\SYSTEM32</filename>
!   directory (or in <filename>WINDOWS\SYSTEM</filename> on a Windows 95/98/ME
    system).  If this file is installed using a setup program, it should
    be installed with version checking using the
    <symbol>VERSIONINFO</symbol> resource included in the file, to

Re: pre-vcbuild win32 install docs incorrect

From
Neil Conway
Date:
On Fri, 2007-02-02 at 10:12 +0100, Magnus Hagander wrote:
> This patch fixes a really bad recommendation that's not been removed
> from the client-only installation instructions. We removed this
> recommendation as of 8.1, but it's still included in the documentation :-(
>
> Please consider back-patching this into the 8.1 and 8.2 version of the
> documentation, as it's something we really don't want people to do.

I backpatched this to 8.0, since that branch still has the suggestion.
Thanks for the patch.

> *** doc\src\sgml/install-win32.sgml    16 Sep 2006 00:30:14 -0000    1.29
> --- doc\src\sgml/install-win32.sgml    2 Feb 2007 09:07:48 -0000

Please don't do this :)

-Neil



Re: pre-vcbuild win32 install docs incorrect

From
Magnus Hagander
Date:
Neil Conway wrote:
> On Fri, 2007-02-02 at 10:12 +0100, Magnus Hagander wrote:
>> This patch fixes a really bad recommendation that's not been removed
>> from the client-only installation instructions. We removed this
>> recommendation as of 8.1, but it's still included in the documentation :-(
>>
>> Please consider back-patching this into the 8.1 and 8.2 version of the
>> documentation, as it's something we really don't want people to do.
>
> I backpatched this to 8.0, since that branch still has the suggestion.
> Thanks for the patch.

Thanks.


>> *** doc\src\sgml/install-win32.sgml    16 Sep 2006 00:30:14 -0000    1.29
>> --- doc\src\sgml/install-win32.sgml    2 Feb 2007 09:07:48 -0000
>
> Please don't do this :)

You know, I wish I didn't have to ;-) Unfortunately, the only way for me
to create a patch offline (like this one, on an airplane) is to rsync
the cvs repository down to the local drive, and run cvsnt on it - since
cvs does not support offline diff. And the only way to make it not put
in backslashes instead of slashes is do run the diff in the docs
directory and not in the root :-(

Does this actually cause a problem for you when you're committing, or is
is just that it looks bad? Because if it causes a problem I can manually
edit them out of my patches before I submit.

//Magnus

Re: pre-vcbuild win32 install docs incorrect

From
Bruce Momjian
Date:
Magnus Hagander wrote:
> Neil Conway wrote:
> > On Fri, 2007-02-02 at 10:12 +0100, Magnus Hagander wrote:
> >> This patch fixes a really bad recommendation that's not been removed
> >> from the client-only installation instructions. We removed this
> >> recommendation as of 8.1, but it's still included in the documentation :-(
> >>
> >> Please consider back-patching this into the 8.1 and 8.2 version of the
> >> documentation, as it's something we really don't want people to do.
> >
> > I backpatched this to 8.0, since that branch still has the suggestion.
> > Thanks for the patch.
>
> Thanks.
>
>
> >> *** doc\src\sgml/install-win32.sgml    16 Sep 2006 00:30:14 -0000    1.29
> >> --- doc\src\sgml/install-win32.sgml    2 Feb 2007 09:07:48 -0000
> >
> > Please don't do this :)
>
> You know, I wish I didn't have to ;-) Unfortunately, the only way for me
> to create a patch offline (like this one, on an airplane) is to rsync
> the cvs repository down to the local drive, and run cvsnt on it - since
> cvs does not support offline diff. And the only way to make it not put
> in backslashes instead of slashes is do run the diff in the docs
> directory and not in the root :-(
>
> Does this actually cause a problem for you when you're committing, or is
> is just that it looks bad? Because if it causes a problem I can manually
> edit them out of my patches before I submit.

It causes patch application problems, but I just edit the patchfile to
fix it.  I could get fancy and have my patch script fix it too.

--
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

Re: pre-vcbuild win32 install docs incorrect

From
Magnus Hagander
Date:
>>>> *** doc\src\sgml/install-win32.sgml    16 Sep 2006 00:30:14 -0000    1.29
>>>> --- doc\src\sgml/install-win32.sgml    2 Feb 2007 09:07:48 -0000
>>> Please don't do this :)
>> You know, I wish I didn't have to ;-) Unfortunately, the only way for me
>> to create a patch offline (like this one, on an airplane) is to rsync
>> the cvs repository down to the local drive, and run cvsnt on it - since
>> cvs does not support offline diff. And the only way to make it not put
>> in backslashes instead of slashes is do run the diff in the docs
>> directory and not in the root :-(
>>
>> Does this actually cause a problem for you when you're committing, or is
>> is just that it looks bad? Because if it causes a problem I can manually
>> edit them out of my patches before I submit.
>
> It causes patch application problems, but I just edit the patchfile to
> fix it.  I could get fancy and have my patch script fix it too.
>

I was not aware it did. My apologies for keeping to send broken patches
then :-O I will try to remember to edit the paths before I submit from
this machine in the future.

//Magnus

Re: pre-vcbuild win32 install docs incorrect

From
Andrew Dunstan
Date:
Magnus Hagander wrote:
>>> *** doc\src\sgml/install-win32.sgml    16 Sep 2006 00:30:14 -0000    1.29
>>> --- doc\src\sgml/install-win32.sgml    2 Feb 2007 09:07:48 -0000
>>>
>> Please don't do this :)
>>
>
> You know, I wish I didn't have to ;-) Unfortunately, the only way for me
> to create a patch offline (like this one, on an airplane) is to rsync
> the cvs repository down to the local drive, and run cvsnt on it - since
> cvs does not support offline diff. And the only way to make it not put
> in backslashes instead of slashes is do run the diff in the docs
> directory and not in the root :-(
>
>

I'm not sure what offline has to do with it. Having a braindead client
that you can't tell to use forward slashes seems more like the cause.
CVS clients for Cygwin or MSys don't have this defect, that I know of.

cheers

andrew

Re: pre-vcbuild win32 install docs incorrect

From
Magnus Hagander
Date:
Andrew Dunstan wrote:
> Magnus Hagander wrote:
>>>> *** doc\src\sgml/install-win32.sgml    16 Sep 2006 00:30:14 -0000
>>>> 1.29
>>>> --- doc\src\sgml/install-win32.sgml    2 Feb 2007 09:07:48 -0000
>>>>
>>> Please don't do this :)
>>>
>>
>> You know, I wish I didn't have to ;-) Unfortunately, the only way for me
>> to create a patch offline (like this one, on an airplane) is to rsync
>> the cvs repository down to the local drive, and run cvsnt on it - since
>> cvs does not support offline diff. And the only way to make it not put
>> in backslashes instead of slashes is do run the diff in the docs
>> directory and not in the root :-(
>>
>>
>
> I'm not sure what offline has to do with it. Having a braindead client
> that you can't tell to use forward slashes seems more like the cause.
> CVS clients for Cygwin or MSys don't have this defect, that I know of.

My cvs client only has this problem when it's talking to a local
filesystem cvs repository, not when talking to anoncvs.

//Magnus

Re: pre-vcbuild win32 install docs incorrect

From
Andrew Dunstan
Date:
Magnus Hagander wrote:
>> I'm not sure what offline has to do with it. Having a braindead client
>> that you can't tell to use forward slashes seems more like the cause.
>> CVS clients for Cygwin or MSys don't have this defect, that I know of.
>>
>
> My cvs client only has this problem when it's talking to a local
> filesystem cvs repository, not when talking to anoncvs.
>
>
>

Maybe you need to run a local pserver then.

cheers

andrew