Maxim Boguk schrieb am 19.05.2015 um 13:33:
> 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 docume
On Tue, May 19, 2015 at 7:39 PM, Thomas Kellerer wrote:
> 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 arra
Thomas Kellerer wrote:
> 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)
I can't reproduce this on my PostgreSQL 9.4.1:
test=> select array[1,2,3] - 3;
ERROR: oper
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.
James Harper wrote:
> Just a minor bug in the documentation -
> http://www.postgresql.org/docs/9.3/static/bgworker.html says that bgw_main
> takes an argument of void*, but when declared as such gcc -Wall gives a
> warning of:
>
> init.c:59:19: warning: assignment from incompatible pointer type
Just a minor bug in the documentation -
http://www.postgresql.org/docs/9.3/static/bgworker.html says that bgw_main
takes an argument of void*, but when declared as such gcc -Wall gives a warning
of:
init.c:59:19: warning: assignment from incompatible pointer type [enabled by
default]
worker