I found a minor mistake in the documentation of string functions. http://www.postgresql.org/docs/9.4/static/functions-string.html
In table 9-6 examples and results columns, look at the overlay function, which has 4 x characters, but overlays 3 characters. Please remove an x. overlay('T*xxxx*as' placing 'hom' from 2 for 4) Thomas Please change the call to { *overlay('Txxxas'* ... } Have a good day, and thanks for creating such amazing documentation. Roy Tate