Thread: GET DIAGNOSTICS example

GET DIAGNOSTICS example

From
Rod Taylor
Date:
Took me longer than necessary before I figured out which side the stuff
went on.  So heres a quick example.


Would it be wise to have the plsql.sgml file renamed to plpgsql.sgml?
All of the internal tags are of the latter.

The other thing I noticed is that most of the quick examples in the file
use a para and synopsis.  Is there a reason we're not using <example/> ?

Attachment

Re: GET DIAGNOSTICS example

From
Bruce Momjian
Date:
I agree plpgsql is a better file name, and example is prefered.  Would
you send in a patch?

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

Rod Taylor wrote:
> Took me longer than necessary before I figured out which side the stuff
> went on.  So heres a quick example.
>
>
> Would it be wise to have the plsql.sgml file renamed to plpgsql.sgml?
> All of the internal tags are of the latter.
>
> The other thing I noticed is that most of the quick examples in the file
> use a para and synopsis.  Is there a reason we're not using <example/> ?

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Re: GET DIAGNOSTICS example

From
Rod Taylor
Date:
Superceeds my other diagnostics example patch.

Only found one synopsis in that file that wasn't actually a synopsis.
Thought it was more.

Anyway, apply patch, then:

mv plsql.sgml plpgsql.sgml
cvs remove plsql.sgml
cvs add plpgsql.sgml

You may prefer to do a repo-copy for this.

On Mon, 2002-07-29 at 22:43, Bruce Momjian wrote:
>
> I agree plpgsql is a better file name, and example is prefered.  Would
> you send in a patch?
>
> ---------------------------------------------------------------------------
>
> Rod Taylor wrote:
> > Took me longer than necessary before I figured out which side the stuff
> > went on.  So heres a quick example.
> >
> >
> > Would it be wise to have the plsql.sgml file renamed to plpgsql.sgml?
> > All of the internal tags are of the latter.
> >
> > The other thing I noticed is that most of the quick examples in the file
> > use a para and synopsis.  Is there a reason we're not using <example/> ?
>
> [ Attachment, skipping... ]
>
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 5: Have you checked our extensive FAQ?
> >
> > http://www.postgresql.org/users-lounge/docs/faq.html
>
> --
>   Bruce Momjian                        |  http://candle.pha.pa.us
>   pgman@candle.pha.pa.us               |  (610) 853-3000
>   +  If your life is a hard drive,     |  830 Blythe Avenue
>   +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
>
> ---------------------------(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
>


Attachment

Re: GET DIAGNOSTICS example

From
Bruce Momjian
Date:
Patch applied.  Thanks.

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


Rod Taylor wrote:
> Superceeds my other diagnostics example patch.
>
> Only found one synopsis in that file that wasn't actually a synopsis.
> Thought it was more.
>
> Anyway, apply patch, then:
>
> mv plsql.sgml plpgsql.sgml
> cvs remove plsql.sgml
> cvs add plpgsql.sgml
>
> You may prefer to do a repo-copy for this.
>
> On Mon, 2002-07-29 at 22:43, Bruce Momjian wrote:
> >
> > I agree plpgsql is a better file name, and example is prefered.  Would
> > you send in a patch?
> >
> > ---------------------------------------------------------------------------
> >
> > Rod Taylor wrote:
> > > Took me longer than necessary before I figured out which side the stuff
> > > went on.  So heres a quick example.
> > >
> > >
> > > Would it be wise to have the plsql.sgml file renamed to plpgsql.sgml?
> > > All of the internal tags are of the latter.
> > >
> > > The other thing I noticed is that most of the quick examples in the file
> > > use a para and synopsis.  Is there a reason we're not using <example/> ?
> >
> > [ Attachment, skipping... ]
> >
> > >
> > > ---------------------------(end of broadcast)---------------------------
> > > TIP 5: Have you checked our extensive FAQ?
> > >
> > > http://www.postgresql.org/users-lounge/docs/faq.html
> >
> > --
> >   Bruce Momjian                        |  http://candle.pha.pa.us
> >   pgman@candle.pha.pa.us               |  (610) 853-3000
> >   +  If your life is a hard drive,     |  830 Blythe Avenue
> >   +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
> >
> > ---------------------------(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
> >
>

[ Attachment, skipping... ]

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026