documenting forbidden expressions in column defaults

Started by Amit Langotealmost 8 years ago1 messageshackers
Jump to latest
#1Amit Langote
Langote_Amit_f8@lab.ntt.co.jp

Hi.

The description of DEFAULT in the documentation currently says:

"The value is any variable-free expression (subqueries and
cross-references to other columns in the current table are not allowed)."

But the value cannot be an aggregate expression, a window function, or a
set-returning function either, so maybe we should list these items too?

Attached is a patch that fixes the text in two places where the above
description appears.

Thanks,
Amit

Attachments:

default-expression-forbids-desc-1.patchtext/plain; charset=UTF-8; name=default-expression-forbids-desc-1.patchDownload+6-4