Re: Missing column_constraint explanation

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Missing column_constraint explanation
Дата
Msg-id CAB7nPqTagNTV5LbKz3Jekrd2DkxoaER+7sPKPSmjkd-aY1foeQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Missing column_constraint explanation  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: Missing column_constraint explanation  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-docs
On Thu, Dec 21, 2017 at 12:15 PM, Stephen Frost <sfrost@snowman.net> wrote:
> Now, if we could do that in such a way that we avoid having to actually
> duplicate the 'source' for these productions into different places in
> the documentation, that would be fantastic because it certainly isn't
> fun having to find all the places that need to be updated, but I'm not
> sure how easy that would be to do (and to make work with how psql's help
> is generated...).

You are looking for something like how feature-supported.sgml is
handled after its automatic generation, except that in this case you
just create a new sgml file which has the definition data you want to
load, define it with <!ENTITY blah SYSTEM "blah.sgml">, and then load
it using something like an entity &blah; in the CREATE or ALTER TABLE
docs. That's a bit of refactoring though, but you could shape it by
putting all those lower-level definitions in a subdirectory like
sgml/defs or such, avoiding any duplication in those definitions.
-- 
Michael


В списке pgsql-docs по дате отправления:

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Missing column_constraint explanation
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: remove endterms and title ids