Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id A2CA8632F66 for ; Fri, 2 Jul 2010 20:02:24 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 25408-05 for ; Fri, 2 Jul 2010 23:02:17 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-iw0-f174.google.com (mail-iw0-f174.google.com [209.85.214.174]) by mail.postgresql.org (Postfix) with ESMTP id 56185632EDC for ; Fri, 2 Jul 2010 20:02:17 -0300 (ADT) Received: by iwn7 with SMTP id 7so3734105iwn.19 for ; Fri, 02 Jul 2010 16:02:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Nvt77UbLnkbuqLN1pwPFOngOsgU6YJZyDHfC/EgEhT8=; b=xrtgRgT12jHhTet0fMUdFZUaEd00YVd2wmIRZbfo5H2A6EbUBpWCSdw0LPVE0ESGio e6aE8Fakaqlp6xDeza63FdgS85pAIRhQVf/2AQf7iLZdBBUUcYo5M4f3EmOcw6ko9Pgn AFwgDdGysTx4+NbmQvoC3qk7/YY9VYdufzroI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=I/S8bgSwZ7Gv3Dp4vk7RflwSo+NRnUUheVR+pYKJeI+xpqo9fvyBC0kgv2M7oZKpY3 DuR7ArG7luMIjXS7KvSJW2WgHGaPAIg8WZ91Z4bcJd7onTdM0slT4mt8kBjgbE1W2JDa W6PfjmbaGaEiyGCnCJRfi4n3fC2aMjiUG/EkU= MIME-Version: 1.0 Received: by 10.231.167.146 with SMTP id q18mr1560820iby.108.1278111735660; Fri, 02 Jul 2010 16:02:15 -0700 (PDT) Received: by 10.231.37.193 with HTTP; Fri, 2 Jul 2010 16:02:15 -0700 (PDT) In-Reply-To: <201007022207.o62M7mX02724@momjian.us> References: <201007022207.o62M7mX02724@momjian.us> Date: Fri, 2 Jul 2010 19:02:15 -0400 Message-ID: Subject: Re: Documentation and explanatory diagrams From: Robert Haas To: Bruce Momjian Cc: "Marc G. Fournier" , Tom Lane , Alvaro Herrera , Peter Eisentraut , Rafael Martinez , pgsql-docs Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201007/20 X-Sequence-Number: 5676 On Fri, Jul 2, 2010 at 6:07 PM, Bruce Momjian wrote: > Marc G. Fournier wrote: >> On Fri, 2 Jul 2010, Bruce Momjian wrote: >> >> > I am afraid if we don't enable dia by default then we will end up with >> > production documentation without images. =A0I think we have to default= dia >> > to on, and give a reasonable error when it doesn't exist, and mention >> > how to turn it off. >> >> Okay, I have no problem with either default on or off ... but ... won't = th >> efailure to have prod documentation with images be my fault? =A0or am I >> missing something else here? > > The point is you will have to explicitly turn off dia/images to build > without images. =A0That should make anyone building production docs alway= s > generate images, unless they override the default. Is it at all practical to ship the PNGs as well as the DIA files in CVS, and make rebuilding the PNGs from the DIAs a separate step? Also, I think we need to review these images carefully before adding any of them into our docs. For example, I'd dispute the picture of the world shown on the file_based_log_shipping.png image; that's certainly not the only way to set it up (the archive needn't be on the primary node, right?). The image that is called hot_standby is really showing a combination of SR + log shipping. It has nothing to do with Hot Standby. The page_layout image is kinda confusing - I can tell what the purple and brown arrows are supposed to represent, but only because I already know what they're supposed to mean. The pg_dir_layout image seems like it would work equally well (and maybe better) as text. The pg_standby image appears identical to the file_based_log_shipping image= . The pgclient_server image is a mishmash of concepts with no unifying theme. The streaming_replication image is technically not correct. WAL sender reads from disk - PostgreSQL doesn't duplicate the WAL as it's generated. It also makes it look like WAL sender/reciever are not part of PostgreSQL, which of course isn't the case. The tablespaces image labels the toplevel entity "PGCluster" but doesn't use the "PG" prefix on any of the other items. That seems inconsistent. On the vacuum image, I don't know that the terms "active" and "expire" are really the best terminology. --=20 Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise Postgres Company