> No, it's not the example but the operator description, and what it says
> is
> "string || non-string or non-string || string"
> 
> so it's trying to illustrate that there are two options:
> 
> string || non-string
> non-string || string

I see, that makes a lot more sense.

> but maybe it's not super-clear about that.  This is much clearer in the
> docs for Postgres 13, which has been heavily reformatted:
> https://www.postgresql.org/docs/devel/functions-string.html

Oh wow, that's quite the change.  I'm going to use the updated docs moving
forward, it confused me at first, after years of visually parsing the previous
format, but it's clearer once you understand the structure.

Thanks,
Bertrand


Reply via email to