Converting yes or no to one letter strings. - Mailing list pgsql-general

Hi everyone,

Is it possible to convert a boolean yes or no field to hold a one letter string? For example, the strings: 's' 'f' 'p' 'e'

To start off, I just need to convert true to 's'. false will have to be manually changed to 'f' or 'p' or 'e' as appropriate.

Lou

pgsql-general by date:

Previous
From: Dmitry O Litvintsev
Date:
Subject: postgresql11-devel RPM is missing from "Direct RPM downloads"
Next
From: Rich Shepard
Date:
Subject: Re: Converting yes or no to one letter strings.