Re: Doc reference of contrib modules
От | Bruce Momjian |
---|---|
Тема | Re: Doc reference of contrib modules |
Дата | |
Msg-id | 201101251459.p0PExqj11486@momjian.us обсуждение исходный текст |
Ответ на | Re: Doc reference of contrib modules (Josh Kupershmidt <schmiddy@gmail.com>) |
Ответы |
Re: Doc reference of contrib modules
|
Список | pgsql-docs |
Josh Kupershmidt wrote: > On Mon, Jan 24, 2011 at 10:33 PM, Bruce Momjian <bruce@momjian.us> wrote: > > Suggestions? > > For this bit: > > *** 686,693 **** > AS t1(proname name, prosrc text) > WHERE proname LIKE 'bytea%'; > </programlisting> > ! The <literal>dblink</> function executes a remote query (see > ! <filename>contrib/dblink</>). 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 > that the parser knows, for example, what <literal>*</> should > --- 686,693 ---- > 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 > that the parser knows, for example, what <literal>*</> should > > I think the changed line should explicitly mention "dblink module", > otherwise it's easy to miss that dblink() comes from contrib. > Especially since the target page of that link: > http://www.postgresql.org/docs/current/static/contrib-dblink.html > doesn't mention the words "contrib" or "module" anywhere (most other > contrib modules have a header saying "Appendix F. Additional Supplied > Modules" at the top of the page, but the dblink function pages don't > since they're subpages of > http://www.postgresql.org/docs/current/static/dblink.html ). That is an interesting case. I didn't mention "module" here because above this ia a dblink() function call, and we are referencing the function call in the text. I couldn't figure out how to mention "module" here without making the text more complex. I thought of: The <link linkend="CONTRIB-DBLINK">dblink</> function (part of the dblink module) executes a remote query. but that seems awkward. Ideas? -- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +
В списке pgsql-docs по дате отправления: