From: | Martin Gainty <mgainty(at)hotmail(dot)com> |
---|---|
To: | <justin(at)emproshunts(dot)com>, <robertmhaas(at)gmail(dot)com> |
Cc: | Tom State of Pa <tgl(at)sss(dot)pgh(dot)pa(dot)us>, <stark(at)enterprisedb(dot)com>, Sam Mason <sam(at)samason(dot)me(dot)uk>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>, <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [HACKERS] string_to_array with empty input |
Date: | 2009-04-01 20:17:58 |
Message-ID: | BLU142-W15179F226ED6BF8A1854D9AE8B0@phx.gbl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
Split strings into array elements using provided delimiter
string_to_array('xx~^~yy~^~zz', '~^~')
output: {xx,yy,zz}
http://www.postgresql.org/docs/8.3/interactive/functions-array.html
?
Martin
______________________________________________
Disclaimer and confidentiality note
This message is confidential and may be privileged. If you are not the intended recipient, we kindly ask you to please inform the sender. Any unauthorised dissemination or copying hereof is prohibited. This message serves for information purposes only and shall not have any legally binding effect. Given that e-mails can easily be subject to manipulation, we can not accept any liability for the content provided.
> Date: Wed, 1 Apr 2009 15:49:42 -0400
> From: justin(at)emproshunts(dot)com
> To: robertmhaas(at)gmail(dot)com
> CC: tgl(at)sss(dot)pgh(dot)pa(dot)us; stark(at)enterprisedb(dot)com; sam(at)samason(dot)me(dot)uk; pgsql-general(at)postgresql(dot)org; pgsql-hackers(at)postgresql(dot)org
> Subject: Re: [HACKERS] [GENERAL] string_to_array with empty input
>
> If someone can show me a real world example this logic simplifies the
> code and has more uses I'll bite
>
>
> I just presently can't see how this works better.
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
_________________________________________________________________
Rediscover Hotmail®: Get e-mail storage that grows with you.
http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Storage1_042009
From | Date | Subject | |
---|---|---|---|
Next Message | Justin | 2009-04-01 20:54:26 | Re: [HACKERS] string_to_array with empty input |
Previous Message | Scott Marlowe | 2009-04-01 20:04:53 | Re: Server Performance |
From | Date | Subject | |
---|---|---|---|
Next Message | Oleg Bartunov | 2009-04-01 20:51:48 | Re: [Snowball-discuss] Snowball release cycle ? |
Previous Message | justin | 2009-04-01 19:49:42 | Re: [HACKERS] string_to_array with empty input |