Thread: small mistakes in func.sgml
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 **** </synopsis> is equivalent to <synopsis> ! <replaceable>a</replaceable> >= <replaceable>x</replaceable> AND <replaceable>a</replaceable>able> <= <replaceable>y</replaceable> </synopsis> Similarly, <synopsis> --- 245,251 ---- </synopsis> is equivalent to <synopsis> ! <replaceable>a</replaceable> >= <replaceable>x</replaceable> AND <replaceable>a</replaceable> <= <replaceable>y</replaceable> </synopsis> Similarly, <synopsis> *************** *** 253,259 **** </synopsis> is equivalent to <synopsis> ! <replaceable>a</replaceable> < <replaceable>x</replaceable> OR <replaceable>a</replaceable>able> > <replaceable>y</replaceable> </synopsis> There is no difference between the two respective forms apart from the <acronym>CPU</acronym> cycles required to rewrite the first one --- 253,259 ---- </synopsis> is equivalent to <synopsis> ! <replaceable>a</replaceable> < <replaceable>x</replaceable> OR <replaceable>a</replaceable> > <replaceable>y</replaceable> </synopsis> There is no difference between the two respective forms apart from the <acronym>CPU</acronym> cycles required to rewrite the first one -- Alvaro Herrera (<alvherre[a]atentus.com>) "El dia que dejes de cambiar dejaras de vivir"
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 (<alvherre[a]atentus.com>) www.google.com: interfaz de linea de comando para la web.
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 **** > </synopsis> > is equivalent to > <synopsis> > ! <replaceable>a</replaceable> >= <replaceable>x</replaceable> AND <replaceable>a</replaceable>able> <= <replaceable>y</replaceable> > </synopsis> > Similarly, > <synopsis> > --- 245,251 ---- > </synopsis> > is equivalent to > <synopsis> > ! <replaceable>a</replaceable> >= <replaceable>x</replaceable> AND <replaceable>a</replaceable> <= <replaceable>y</replaceable> > </synopsis> > Similarly, > <synopsis> > *************** > *** 253,259 **** > </synopsis> > is equivalent to > <synopsis> > ! <replaceable>a</replaceable> < <replaceable>x</replaceable> OR <replaceable>a</replaceable>able> > <replaceable>y</replaceable> > </synopsis> > There is no difference between the two respective forms apart from > the <acronym>CPU</acronym> cycles required to rewrite the first one > --- 253,259 ---- > </synopsis> > is equivalent to > <synopsis> > ! <replaceable>a</replaceable> < <replaceable>x</replaceable> OR <replaceable>a</replaceable> > <replaceable>y</replaceable> > </synopsis> > There is no difference between the two respective forms apart from > the <acronym>CPU</acronym> cycles required to rewrite the first one > > > -- > Alvaro Herrera (<alvherre[a]atentus.com>) > "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
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:<replaceable>ble>expres</replaceable><optional>nal>,</optional>nal>) 6027:<replaceable>ble>expres</replaceable><optional>nal>,</optional>nal>) 6091:<replaceable>ble>expres</replaceable><optional>nal>,</optional>optiona<replaceable>aceable></replaceable>aceable> ANY(<replaceable>subquery</replaceable>) 6093:<replaceable>ble>expres</replaceable><optional>nal>,</optional>optiona<replaceable>aceable></replaceable>aceable> SOME(<replaceable>subquery</replaceable>) 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 (<alvherre[a]atentus.com>) "Hay quien adquiere la mala costumbre de ser infeliz" (M. A. Evans)
Yes, I see it as: 1.100 (thomas 11-Jun-02): <parameter>r</parameter>rameter> <type>integer</type>)</entry> 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:<replaceable>ble>expres</replaceable><optional>nal>,</optional>nal>) > 6027:<replaceable>ble>expres</replaceable><optional>nal>,</optional>nal>) > 6091:<replaceable>ble>expres</replaceable><optional>nal>,</optional>optiona<replaceable>aceable></replaceable>aceable> ANY(<replaceable>subquery</replaceable>) > 6093:<replaceable>ble>expres</replaceable><optional>nal>,</optional>optiona<replaceable>aceable></replaceable>aceable> SOME(<replaceable>subquery</replaceable>) > > > 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 (<alvherre[a]atentus.com>) > "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
Alvaro Herrera <alvherre@atentus.com> 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