Search Postgresql Archives

Re: Accommodating alternative column values [RESOLVED]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 3 Jul 2024, Adrian Klaver wrote:

alter table array_conv alter column email type varchar[] using array[email];

select * from array_conv ;
id |            email
----+-----------------------------
 1 | {adrian.klaver@xxxxxxxxxxx}
 2 | {aklaver@xxxxxxxxxxx}

Adrian,

Given my inexperience with arrays this seems to be the simplest of all
offered syntaxes.

Another valuable postgres lesson learned.

Much appreciated,

Rich






[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux