More formal definition of functions in documentation

Поиск
Список
Период
Сортировка
От Joris Dobbelsteen
Тема More formal definition of functions in documentation
Дата
Msg-id E4953B65D9E5054AA6C227B410C56AA9C3AE@exchange1.joris2k.local
обсуждение исходный текст
Ответы Re: More formal definition of functions in documentation
Список pgsql-general
Dear,

I'm currently reading through the Postgresql documentation about how
several functions work and which ones I would need. So far the
documentation is great and well-structured!

Unfortunally I'm not sure what functions will actually do when some
non-obvious input is provided (which is sometimes required, as we cannot
assume structure of the input at all times). A simple example is
substring(text from 'blaat#"%#"' for '#')
where text is not in the format of the regular expression, e.g. when
text = 'text'. I don't know if the SQL standard includes such
requirements, but documenting such behaviour might be a good addition to
the help.
If I know how and how to structure it, I'm willing to do some effect.

In any case, something as already done for CREATE TABLE and such
constructs are very good and well-defined.

- Joris


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

Предыдущее
От: "Kynn Jones"
Дата:
Сообщение: "RETURNS SETOF" function question
Следующее
От: "Joris Dobbelsteen"
Дата:
Сообщение: Planner: rows=1 after "similar to" where condition.