Documentation bug? - Mailing list pgsql-general

From Thomas Kellerer
Subject Documentation bug?
Date
Msg-id mjf0c8$n5d$1@ger.gmane.org
Whole thread Raw
Responses Re: Documentation bug?  (Albe Laurenz <laurenz.albe@wien.gv.at>)
Re: Documentation bug?  (Maxim Boguk <maxim.boguk@gmail.com>)
List pgsql-general
Hello all,

I just noticed that you can do something like this (using 9.4.1):

   select array[1,2,3] - 3

which is doing the same thing as:

   select array_remove(array[1,2,3],3)

but the minus is not documented as an array operator:
http://www.postgresql.org/docs/current/static/functions-array.html 

Is that an oversight in the documentation or isn't the minus supposed to work like that in the first place?

Regards
Thomas

pgsql-general by date:

Previous
From: hari.fuchs@gmail.com
Date:
Subject: Re: Optimizing a read-only database
Next
From: Albe Laurenz
Date:
Subject: Re: Documentation bug?