pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Josh Kupershmidt <schmiddy@gmail.com>
Cc: PostgreSQL-documentation <pgsql-docs@postgresql.org>
Subject: Re: Doc reference of contrib modules
Date: Tue, 25 Jan 2011 10:57:28 -0500 (EST)
Message-ID: <201101251557.p0PFvSj25427@momjian.us> (raw)
In-Reply-To: <25011.1295970212@sss.pgh.pa.us>

Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > Tom Lane wrote:
> >> That's not just awkward, but flat wrong, because the link points to
> >> documentation of the module not the function.
> 
> > The tag for the dblink module is:
> 
> > 	<sect1 id="dblink">
> 
> > the function's tag is:
> 
> > 	 <refentry id="CONTRIB-DBLINK">
> 
> > so I believe the text in the patch is correct.  (Yes, I realize those
> > are confusing tags.)
> 
> Oh.  Please change the function's tag to something a bit saner while
> you're messing around with this, FUNCTION-DBLINK perhaps?

OK, done in attached patch.  (Git does allow easier incremental patch
generation.)

> I still think that a link to the contrib module's page would be a good
> thing to provide here.

Yep, but how to do it in a clear way?

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

Attachments:

/rtmp/dblink.diff (text/x-diff, 1.8K) download commit 82f2051a17355ec1bc00b969052967f7d6a59817 Author: Bruce Momjian <bruce@momjian.us> Date: Tue Jan 25 10:52:26 2011 -0500 Raname doc link for dblink() to "CONTRIB-DBLINK-FUNCTION", for clarity. diff --git a/doc/src/sgml/dblink.sgml b/doc/src/sgml/dblink.sgml index 0e9cd22..295544e 100644 *** /tmp/QezWFa_dblink.sgml Tue Jan 25 10:53:18 2011 --- /tmp/4vCDsa_dblink.sgml Tue Jan 25 10:53:18 2011 *************** SELECT dblink_disconnect('myconn'); *** 303,309 **** </refsect1> </refentry> ! <refentry id="CONTRIB-DBLINK"> <refmeta> <refentrytitle>dblink</refentrytitle> <manvolnum>3</manvolnum> --- 303,309 ---- </refsect1> </refentry> ! <refentry id="CONTRIB-DBLINK-FUNCTION"> <refmeta> <refentrytitle>dblink</refentrytitle> <manvolnum>3</manvolnum> diff --git a/doc/src/sgml/queries.sgml b/doc/src/sgml/queries.sgml index 3227b09..b995ff1 100644 *** /tmp/ogNVLa_queries.sgml Tue Jan 25 10:53:18 2011 --- /tmp/sUYrkb_queries.sgml Tue Jan 25 10:53:18 2011 *************** SELECT * *** 686,692 **** AS t1(proname name, prosrc text) WHERE proname LIKE 'bytea%'; </programlisting> ! The <link linkend="CONTRIB-DBLINK">dblink</> function executes a remote query. It is declared to return <type>record</> since it might be used for any kind of query. The actual column set must be specified in the calling query so --- 686,692 ---- AS t1(proname name, prosrc text) WHERE proname LIKE 'bytea%'; </programlisting> ! The <link linkend="CONTRIB-DBLINK-FUNCTION">dblink</> function executes a remote query. It is declared to return <type>record</> since it might be used for any kind of query. The actual column set must be specified in the calling query so

view thread (14+ messages)  latest in thread

Message-ID: <201101251557.p0PFvSj25427@momjian.us>
Permalink:  ../201101251557.p0PFvSj25427@momjian.us/
Also on:    postgresql.org/message-id/201101251557.p0PFvSj25427@momjian.us

 ·  · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-docs@postgresql.org
  Cc: bruce@momjian.us, tgl@sss.pgh.pa.us, schmiddy@gmail.com
  Subject: Re: Doc reference of contrib modules
  In-Reply-To: <201101251557.p0PFvSj25427@momjian.us>
  References: <25011.1295970212@sss.pgh.pa.us> <201101251557.p0PFvSj25427@momjian.us>

* 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