The forgotten assignment operator “=” and the commonplace “:=”

后端 未结 4 1460
自闭症患者
自闭症患者 2020-11-22 13:23

The documentation for PL/pgSQL says, that declaration and assignment to variables is done with :=. But a simple, shorter and more modern (see foo

4条回答
  •  忘掉有多难
    2020-11-22 14:00

    Reading the Postgresql 9 documentation:

    This page lists "=" as an assignment operator in the table on operator precedence.

    But strangely this page (assignment operator documentation) doesn't mention it.

提交回复
热议问题