small mistakes in func.sgml

Поиск
Список
Период
Сортировка
Искать

small mistakes in func.sgml

От:
Alvaro Herrera <alvherre@atentus.com>
Дата:
Hello,

This patch corrects some small mistakes in doc/src/sgml/func.sgml

Index: doc/src/sgml/func.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql-server/doc/src/sgml/func.sgml,v
retrieving revision 1.112
diff -c -r1.112 func.sgml
*** doc/src/sgml/func.sgml	2002/08/16 23:01:18	1.112
--- doc/src/sgml/func.sgml	2002/08/21 04:51:43
***************
*** 245,251 ****
      
      is equivalent to
      
! a >= x AND aable> <= y
      
      Similarly,
      
--- 245,251 ----
      
      is equivalent to
      
! a >= x AND a <= y
      
      Similarly,
      
***************
*** 253,259 ****
      
      is equivalent to
      
! a < x OR aable> > y
      
      There is no difference between the two respective forms apart from
      the CPU cycles required to rewrite the first one
--- 253,259 ----
      
      is equivalent to
      
! a < x OR a > y
      
      There is no difference between the two respective forms apart from
      the CPU cycles required to rewrite the first one


-- 
Alvaro Herrera ()
"El dia que dejes de cambiar dejaras de vivir"

Re: small mistakes in func.sgml

От:
Alvaro Herrera <alvherre@atentus.com>
Дата:
Yo dije:

> Hello,
> 
> This patch corrects some small mistakes in doc/src/sgml/func.sgml

There are a lot like them.  Looks like some mistake in regex replacing
or something.

-- 
Alvaro Herrera ()
www.google.com: interfaz de linea de comando para la web.

Re: small mistakes in func.sgml

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:

Applied.  Thanks.

---------------------------------------------------------------------------

Alvaro Herrera wrote:
> Hello,
> 
> This patch corrects some small mistakes in doc/src/sgml/func.sgml
> 
> Index: doc/src/sgml/func.sgml
> ===================================================================
> RCS file: /projects/cvsroot/pgsql-server/doc/src/sgml/func.sgml,v
> retrieving revision 1.112
> diff -c -r1.112 func.sgml
> *** doc/src/sgml/func.sgml	2002/08/16 23:01:18	1.112
> --- doc/src/sgml/func.sgml	2002/08/21 04:51:43
> ***************
> *** 245,251 ****
>       
>       is equivalent to
>       
> ! a >= x AND aable> <= y
>       
>       Similarly,
>       
> --- 245,251 ----
>       
>       is equivalent to
>       
> ! a >= x AND a <= y
>       
>       Similarly,
>       
> ***************
> *** 253,259 ****
>       
>       is equivalent to
>       
> ! a < x OR aable> > y
>       
>       There is no difference between the two respective forms apart from
>       the CPU cycles required to rewrite the first one
> --- 253,259 ----
>       
>       is equivalent to
>       
> ! a < x OR a > y
>       
>       There is no difference between the two respective forms apart from
>       the CPU cycles required to rewrite the first one
> 
> 
> -- 
> Alvaro Herrera ()
> "El dia que dejes de cambiar dejaras de vivir"
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Re: small mistakes in func.sgml

От:
Alvaro Herrera <alvherre@atentus.com>
Дата:
Bruce Momjian dijo: 

> Applied.  Thanks.
> 
> ---------------------------------------------------------------------------
> 
> Alvaro Herrera wrote:
> > Hello,
> > 
> > This patch corrects some small mistakes in doc/src/sgml/func.sgml

Better apply something like this sed script to func.sgml

sed -e 's/>[a-z]*>/>/g'

'cause there are a lot of those things inside.  Sadly, there are other
mistakes that weren't there in 7.2 docs.  In CVS tip,

$ grep  -n '>[a-z]*>.*expres' func.sgml 
5935:ble>expresnal>,nal>)
6027:ble>expresnal>,nal>)
6091:ble>expresnal>,optionaaceable>aceable> ANY (subquery)
6093:ble>expresnal>,optionaaceable>aceable> SOME (subquery)


And maybe there are more that I don't see.  I don't know how to identify
which commit broke the file: that can probably help identify all
errors.


-- 
Alvaro Herrera ()
"Hay quien adquiere la mala costumbre de ser infeliz" (M. A. Evans)

Re: small mistakes in func.sgml

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:

Yes, I see it as:

  1.100        (thomas   11-Jun-02):        rrameter> integer)

I will fix them all manually.  Thanks.

---------------------------------------------------------------------------

Alvaro Herrera wrote:
> Bruce Momjian dijo: 
> 
> > Applied.  Thanks.
> > 
> > ---------------------------------------------------------------------------
> > 
> > Alvaro Herrera wrote:
> > > Hello,
> > > 
> > > This patch corrects some small mistakes in doc/src/sgml/func.sgml
> 
> Better apply something like this sed script to func.sgml
> 
> sed -e 's/>[a-z]*>/>/g'
> 
> 'cause there are a lot of those things inside.  Sadly, there are other
> mistakes that weren't there in 7.2 docs.  In CVS tip,
> 
> $ grep  -n '>[a-z]*>.*expres' func.sgml 
> 5935:ble>expresnal>,nal>)
> 6027:ble>expresnal>,nal>)
> 6091:ble>expresnal>,optionaaceable>aceable> ANY (subquery)
> 6093:ble>expresnal>,optionaaceable>aceable> SOME (subquery)
> 
> 
> And maybe there are more that I don't see.  I don't know how to identify
> which commit broke the file: that can probably help identify all
> errors.
> 
> 
> -- 
> Alvaro Herrera ()
> "Hay quien adquiere la mala costumbre de ser infeliz" (M. A. Evans)
> 
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Re: small mistakes in func.sgml

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Alvaro Herrera  writes:
> Better apply something like this sed script to func.sgml
> sed -e 's/>[a-z]*>/>/g'
> 'cause there are a lot of those things inside.  Sadly, there are other
> mistakes that weren't there in 7.2 docs.
> [snip]
> And maybe there are more that I don't see.  I don't know how to identify
> which commit broke the file: that can probably help identify all
> errors.

I traced this back to Thomas' commit of 11-June:

2002-06-11 11:32  thomas

	* doc/src/sgml/: advanced.sgml, datatype.sgml, func.sgml,
	release.sgml: Implement SQL99 OVERLAY(). [etc]

I groveled through the diffs pretty carefully, and found only a couple
of places that you'd missed.  So I think we're okay for now.  However,
if Thomas was using an edit script to fix that markup, the script
evidently needs more work before being used again ...

			regards, tom lane
FAQ