Обсуждение: BUG #7490: documentation typo

Поиск
Список
Период
Сортировка

BUG #7490: documentation typo

От
m.russo@uniplan.it
Дата:
The following bug has been logged on the website:

Bug reference:      7490
Logged by:          mauro
Email address:      m.russo@uniplan.it
PostgreSQL version: 9.1.4
Operating system:   no matter
Description:=20=20=20=20=20=20=20=20

Dears,

in

http://www.postgresql.org/docs/9.1/static/functions-string.html

the example

overlay('Txxxxas' placing 'hom' from 2 for 4)

should be corrected : 'homa' instead of 'hom'.

Re: BUG #7490: documentation typo

От
Magnus Hagander
Дата:
On Mon, Aug 13, 2012 at 9:47 AM,  <m.russo@uniplan.it> wrote:
> The following bug has been logged on the website:
>
> Bug reference:      7490
> Logged by:          mauro
> Email address:      m.russo@uniplan.it
> PostgreSQL version: 9.1.4
> Operating system:   no matter
> Description:
>
> Dears,
>
> in
>
> http://www.postgresql.org/docs/9.1/static/functions-string.html
>
> the example
>
> overlay('Txxxxas' placing 'hom' from 2 for 4)
>
> should be corrected : 'homa' instead of 'hom'.

Why?

If you change it to 'homa', the result is Thomaas, which is clearly
wrong... The function as it's listed yields the result as listed, at
least for me...

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/