chr(3) and 3::text - Mailing list pgsql-novice

From gmail Vladimir Koković
Subject chr(3) and 3::text
Date
Msg-id 769c6f0f-62e1-bd7d-b3bc-221619ab4680@gmail.com
Whole thread Raw
Responses RE: chr(3) and 3::text  (Ken Benson <Ken@infowerks.com>)
Re: chr(3) and 3::text  ("David G. Johnston" <david.g.johnston@gmail.com>)
Re: chr(3) and 3::text  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-novice

Hi,

Why is chr(3) is different than 3::text ?

Examples:

replace(Filler,chr(3),'') WORKS

replace(Filler3::text,'') WRONG

Vladimir Kokovic, DP senior (69)
Serbia, Belgrade, March 28, 2020


pgsql-novice by date:

Previous
From: Denis Gantsev
Date:
Subject: Re: psql: can't get readline support
Next
From: Ken Benson
Date:
Subject: RE: chr(3) and 3::text