Search Postgresql Archives

Re: pgsql "info" files?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Martijn van Oosterhout schrob:

> On Sat, Oct 29, 2005 at 08:29:32PM +0100, mike dixon wrote:
>> I really love the "info" help system (don't know its name; "info
>> emacs" on cmd line if it's installed calls it up; filenames are
>> "texinfo-info*" for example); anyone know if info files are available
>> anywhere for pgsql?  I looked at what gentoo's "emerge" installed and
>> don't see anything...
>
> I don't think so. However, most of the documentation is in SGML format
> and you should be able to convert that to info format...

I was able to build one by adding some targets to
doc/src/sgml/Makefile using <http://docbook2x.sf.net/>:

--8<---------------cut here---------------start------------->8---
postgres.txml: postgres.xml
        db2x_xsltproc -s texi postgres.xml -o postgres.txml

postgres.texi: postgres.txml
        db2x_texixml --encoding=iso-8859-1//TRANSLIT postgres.txml --to-stdout | \
        sed -e 's/^@setfilename.*/@setfilename postgres.info/' \
            -e '/^@direntry/,/^@end direntry/{\
        s/([^)]\+/(postgres.info/\
        }' \
        > postgres.texi

postgres.info: postgres.texi
        makeinfo --no-validate postgres.texi -o postgres.info
--8<---------------cut here---------------end--------------->8---

However, the resulting info documentation is still lacking an index,
which doesn't make it as usable at it could be :-/.

regards,
Andreas
-- 

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux