M
M
maqstein2019-07-30 01:06:37
PostgreSQL
maqstein, 2019-07-30 01:06:37

What do the characters [] {} | in the postgersql documentation?

reading off postgres documentation often in general syntax like this
name [ CONSTANT ] type [ COLLATE collation_name ] [ NOT NULL ] [ { DEFAULT | := | = } expression ];
there are different brackets like square brackets or curly brackets I googled but couldn't find a page describing what each one means. as I understand [] are optional keywords, and | this is "or", you can give a link with full explanations or explain on your fingers.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question