pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Roberto Mello <rmello@cc.usu.edu>
To: pgsql-docs@postgresql.org
Subject: Re: Revamped PL/pgSQL Documentation
Date: Fri, 16 Mar 2001 12:52:33 -0700
Message-ID: <20010316125233.A21495@cc.usu.edu> (raw)

On Fri, Mar 16, 2001 at 06:31:38PM +0100, Peter Eisentraut wrote:
> 
> I need a patch against the version you worked off, otherwise we overwrite
> the changes that have been made by others meanwhile.  Given the size of
> the document I can't easily make this out myself.

	I just did this. Noticed last night, after I had sent the e-mail
already.
	Before sending you the tarball I have a question (and this was asked
me by a reader as well):

	The declarations syntax is listed as follows:
                                                                                                                                   
name [ CONSTANT ] type [ NOT NULL ] [ DEFAULT | := value ];                                                                        
                                                                                                                                   
The part that confuses me is the end.  I assume that if you specify
DEFAULT you must specify a value.  Am I right in understanding that 
notation as meaning: 

name [ CONSTANT ] type [ NOT NULL ] [ DEFAULT value | := value ]; 

or perhaps it could be written like this: 

name [ CONSTANT ] type [ NOT NULL ] [ { DEFAULT | := } value ];                                                                    
                                                                 
> Could you also please reformat the source with one space indents (no
> tabs)?

	For _every_ line? Or you mean the <programlisting> sections? I am
using Emacs and PSGML so it indents it for me. I don't know how I could
change that or exactly what do you want me to change.
	When I do a <TAB> in Emacs, it indents one space after the previous
element. Isn't that the way it's supposed to be?

	Oh, another question: from the file I have (plsql.sglm)), how do I
generate HTML output? I can do it with Jade for <article>s, but can't
seemto find the jade switches for chapters.

> Very nice job, however.

	Thanks :)

	-Roberto

-- 
+----| http://fslc.usu.edu USU Free Software & GNU/Linux Club|------+
  Roberto Mello - Computer Science, USU - http://www.brasileiro.net 
      http://www.sdl.usu.edu - Space Dynamics Lab, Web Developer    
Any non-trivial program contains at least one bug.

----- End forwarded message -----

-- 
+----| http://fslc.usu.edu USU Free Software & GNU/Linux Club|------+
  Roberto Mello - Computer Science, USU - http://www.brasileiro.net 
      http://www.sdl.usu.edu - Space Dynamics Lab, Web Developer    
Ad astra, per ardua nostra.



view thread (5+ messages)  latest in thread

Message-ID: <20010316125233.A21495@cc.usu.edu>
Permalink:  ../20010316125233.A21495@cc.usu.edu/
Also on:    postgresql.org/message-id/20010316125233.A21495@cc.usu.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: rmello@cc.usu.edu
  Subject: Re: Revamped PL/pgSQL Documentation
  In-Reply-To: <20010316125233.A21495@cc.usu.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox