Documentation bug?

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Documentation bug?
Date: 2015-05-19 09:39:20
Message-ID: mjf0c8$n5d$1@ger.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Albe Laurenz 2015-05-19 09:53:56 Re: Documentation bug?
Previous Message hari.fuchs 2015-05-19 08:12:42 Re: Optimizing a read-only database