Re: Accommodating alternative column values - Mailing list pgsql-general

From David G. Johnston
Subject Re: Accommodating alternative column values
Date
Msg-id CAKFQuwYiqUFa1+89CU-EPngG-tMfK4evYCKTOrJRKD8JVSP6kQ@mail.gmail.com
Whole thread Raw
In response to Re: Accommodating alternative column values  (Rich Shepard <rshepard@appl-ecosys.com>)
List pgsql-general
On Wednesday, July 3, 2024, Rich Shepard <rshepard@appl-ecosys.com> wrote:

I'm not using the proper syntax and the postgres alter table doc has no
example in the alter column choices.

Simpler syntax forms tend to get skipped over when doing examples.
 

How do I incorporate the "USING email::..." string?

ALTER [ COLUMN ] column_name [ SET DATA ] TYPE data_type [ COLLATE collation ] [ USING expression ]

David J.

pgsql-general by date:

Previous
From: Rich Shepard
Date:
Subject: Re: Accommodating alternative column values
Next
From: Rich Shepard
Date:
Subject: Re: Accommodating alternative column values