Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id A5942632F6D for ; Fri, 24 Apr 2009 09:49:03 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 38253-06 for ; Fri, 24 Apr 2009 09:48:46 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from momjian.us (momjian.us [70.90.9.53]) by mail.postgresql.org (Postfix) with ESMTP id 5A048632203 for ; Fri, 24 Apr 2009 09:48:54 -0300 (ADT) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id n3OCmqU29137; Fri, 24 Apr 2009 08:48:52 -0400 (EDT) From: Bruce Momjian Message-Id: <200904241248.n3OCmqU29137@momjian.us> Subject: Re: XML documentation question In-Reply-To: <200904241415.12922.peter_e@gmx.net> To: Peter Eisentraut Date: Fri, 24 Apr 2009 08:48:52 -0400 (EDT) CC: pgsql-docs@postgresql.org X-Mailer: ELM [version 2.4ME+ PL124 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.116 tagged_above=0 required=5 tests=AWL=0.116 X-Spam-Level: X-Archive-Number: 200904/48 X-Sequence-Number: 5136 Peter Eisentraut wrote: > On Friday 24 April 2009 06:17:47 Bruce Momjian wrote: > > What does this first sentence mean in our XML function documentation; > > would someone please rewrite it to be intelligable? > > > > In addition, the following functions are available to produce > > analogous mappings of entire schemas or the entire current > > database. > > It means that the functions described below produce mappings that are > analogous to the ones described earlier in that section which map tables > instead of schemas or databases. Apologies, I quoted the wrong section; I meant to ask about this sentence: The following functions return XML Schema documents describing the mappings made by the data mappings produced by the corresponding functions above. table_to_xmlschema(tbl regclass, nulls boolean, tableforest boolean, targetns text) query_to_xmlschema(query text, nulls boolean, tableforest boolean, targetns text) cursor_to_xmlschema(cursor refcursor, nulls boolean, tableforest boolean, targetns text) -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + If your life is a hard drive, Christ can be your backup. +