Re: BUG #5250: Tutorial examples(pre-compiled) not present with precompiled binary version of PostgreSQL. - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: BUG #5250: Tutorial examples(pre-compiled) not present with precompiled binary version of PostgreSQL.
Date
Msg-id 201002190117.o1J1H8n02384@momjian.us
Whole thread Raw
In response to Re: BUG #5250: Tutorial examples(pre-compiled) not present with precompiled binary version of PostgreSQL.  (Dave Page <dpage@pgadmin.org>)
List pgsql-bugs
Dave Page wrote:
> On Tue, Dec 22, 2009 at 8:43 PM, Ashish Anand <Ashish.The.Dev@gmail.com> wrote:
> > Alvaro, Please read the?first?three mails in this thread.
> >
> > Dave, can you open a bug at your end. Just open it so that it can be tracked
> > two months down the line. I am not insisting on fixing it right now.
>
> There is nothing to fix at 'my end' at the moment (whichever end you
> consider that to be). As has been established in the later messages in
> the thread, the tutorial isn't built at all by the PostgreSQL MSVC
> build system, and on other platforms the installation location is
> fixed. As Tom as pointed out, we first need to determine we want it to
> work, and then apply the appropriate fix to PostgreSQL. Only then will
> the downstream packages make any changes, should they be required.
>
> My vote is to reword the docs so they don't say that binary distros
> will include the pre-built tutorial binaries, and then we can consider
> shipping the source files in the installers/rpms etc.

I have applied the attached patch which removes the mention that the
tutorial files are precompiled.

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

  + If your life is a hard drive, Christ can be your backup. +
Index: doc/src/sgml/query.sgml
===================================================================
RCS file: /cvsroot/pgsql/doc/src/sgml/query.sgml,v
retrieving revision 1.53
diff -c -c -r1.53 query.sgml
*** doc/src/sgml/query.sgml    17 Jun 2009 21:58:49 -0000    1.53
--- doc/src/sgml/query.sgml    19 Feb 2010 01:14:45 -0000
***************
*** 26,32 ****
     <para>
      Examples in this manual can also be found in the
      <productname>PostgreSQL</productname> source distribution
!     in the directory <filename>src/tutorial/</filename>.  To use those
      files, first change to that directory and run <application>make</>:

  <screen>
--- 26,34 ----
     <para>
      Examples in this manual can also be found in the
      <productname>PostgreSQL</productname> source distribution
!     in the directory <filename>src/tutorial/</filename>.  (Binary
!     distributions of <productname>PostgreSQL</productname> might not
!     compile these files.)  To use those
      files, first change to that directory and run <application>make</>:

  <screen>
***************
*** 35,46 ****
  </screen>

      This creates the scripts and compiles the C files containing user-defined
!     functions and types.  (If you installed a pre-packaged version of
!     <productname>PostgreSQL</productname> rather than building from source,
!     look for a directory named <filename>tutorial</> within the
!     <productname>PostgreSQL</productname> distribution.  The <quote>make</>
!     part should already have been done for you.)
!     Then, to start the tutorial, do the following:

  <screen>
  <prompt>$</prompt> <userinput>cd <replaceable>....</replaceable>/tutorial</userinput>
--- 37,43 ----
  </screen>

      This creates the scripts and compiles the C files containing user-defined
!     functions and types.  Then, to start the tutorial, do the following:

  <screen>
  <prompt>$</prompt> <userinput>cd <replaceable>....</replaceable>/tutorial</userinput>

pgsql-bugs by date:

Previous
From: Alex Hunsaker
Date:
Subject: Re: BUG #5334: Version 2.22 of Perl Safe module breaks UTF8 PostgreSQL 8.4
Next
From: Tim Bunce
Date:
Subject: Re: [Tigerlead] BUG #5334: Version 2.22 of Perl Safe module breaks UTF8 PostgreSQL 8.4