Search code examples
postgresqldocumentation

Explanation on [ (n) ] or [ fields ] [ (p) ] in PostgreSQL docs


I'm reading through the PostgreSQL docs and didn't find examples or explanations on the syntax used there. For example on the documentation page for data types you find a table having [ (n) ] and similar. Could somebody please explain or provide examples what all of those for me crypting symbols mean?

Thanks in advance.


Solution

  • The syntax is described in the Conventions page of the manual.

    For instance, [(n)] means that optionally there is a numeric value in parentheses.