Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 5A81F632BE3 for ; Wed, 9 Jun 2010 04:46:09 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 22826-01 for ; Wed, 9 Jun 2010 07:46:01 +0000 (UTC) Received: from news.hub.org (news.hub.org [200.46.204.72]) by mail.postgresql.org (Postfix) with ESMTP id 32EC9632403 for ; Wed, 9 Jun 2010 04:46:02 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.14.4/8.14.4) with ESMTP id o597jw45088084 for ; Wed, 9 Jun 2010 04:45:58 -0300 (ADT) (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.14.4/8.14.4/Submit) id o597i958081574 for pgsql-general@postgresql.org; Wed, 9 Jun 2010 04:44:09 -0300 (ADT) (envelope-from news) From: =?ISO-8859-1?Q?Torsten_Z=FChlsdorff?= X-Newsgroups: pgsql.general Subject: Re: Cognitive dissonance Date: Wed, 09 Jun 2010 09:44:10 +0200 Organization: A noiseless patient Spider Lines: 41 Message-ID: References: <29FD1BB6-9AD8-485C-B5D2-23D66C15DC97@numericable.fr> <1C4CA63C-DD35-4554-81CE-4E2A94548CA6@numericable.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 9 Jun 2010 07:44:11 +0000 (UTC) Injection-Info: mx03.eternal-september.org; posting-host="AnkPUomeHXvuN7UdHvIkog"; logging-data="32445"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX181A/NVxyKNyLAEqTWY6yyD" User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.1.24) Gecko/20100228 Thunderbird/2.0.0.24 Mnenhy/0.7.5.0 In-Reply-To: Cancel-Lock: sha1:eQ+cNSprZZpWTJUTc8hvAKQVMR0= To: pgsql-general@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.79 tagged_above=-5 required=5 tests=BAYES_50=0.8, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201006/410 X-Sequence-Number: 163947 Brian Modra schrieb: > Personally I like to use html docs, and it would be good if the > documentation were downloadable from the postgresql website in other > formats, for convenience... > > But, what I use is this, which works pretty well: > > (e.g. to get the 8.1 dosc) > > mkdir postgresql > cd postgresql > wget -r -nH -l 10 -k -np > http://www.postgresql.org/docs/8.1/interactive/index.html > > ... then after it all downloads: > > open the file docs/8.1/interactive/index.html > in your web browser. > > e.g. > links docs/8.1/interactive/index.html > > > HTML is "text", so you can search using grep e.g. > grep -r "ALTER TABLE .* ADD COLUMN" docs/8.1 Thats the way i do too. A huge pdf is often not very helpful. In my personal case i programm often in a train, using my laptop. Searching a PDF with more than 1.000 pages really hits my battery. With html-files i could preselect the items to search. Also it's possible to import the html-files in a postgres-db and using fulltext-search. ;) Greetings, Torsten -- http://www.dddbl.de - ein Datenbank-Layer, der die Arbeit mit 8 verschiedenen Datenbanksystemen abstrahiert, Queries von Applikationen trennt und automatisch die Query-Ergebnisse auswerten kann.