From: | Justin <justin(at)emproshunts(dot)com> |
---|---|
To: | Martin Gainty <mgainty(at)hotmail(dot)com> |
Cc: | robertmhaas(at)gmail(dot)com, 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:54:26 |
Message-ID: | 49D3D482.8070601@emproshunts.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Martin Gainty wrote:
<blockquote cite="mid:BLU142-W15179F226ED6BF8A1854D9AE8B0(at)phx(dot)gbl"
type="cite">
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
<tt class="LITERAL">Split strings into array elements using provided
delimiter<br>
<br>
string_to_array('xx~^~yy~^~zz', '~^~') <br>
output: </tt><tt class="LITERAL">{xx,yy,zz}</tt><br>
<br>
<a class="moz-txt-link-freetext" href="http://www.postgresql.org/docs/8.3/interactive/functions-array.html">http://www.postgresql.org/docs/8.3/interactive/functions-array.html</a><br>
<br>
</blockquote>
Sorry thats not the question i'm asking. <br>
<br>
We are debating if it makes sense to change the output in certain
cases. <br>
<br>
I'm for not returning nulls or returning zero element array. <br>
<br>
I'm asking how is the other better by giving a real world example??? I
don't see the plus side at the moment. <br>
</body>
</html>
Attachment | Content-Type | Size |
---|---|---|
unknown_filename | text/html | 1.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2009-04-01 21:22:29 | Re: [HACKERS] string_to_array with empty input |
Previous Message | Martin Gainty | 2009-04-01 20:17:58 | Re: [HACKERS] string_to_array with empty input |
From | Date | Subject | |
---|---|---|---|
Next Message | Grant Ingersoll | 2009-04-01 21:10:01 | Re: [Snowball-discuss] Snowball release cycle ? |
Previous Message | Oleg Bartunov | 2009-04-01 20:51:48 | Re: [Snowball-discuss] Snowball release cycle ? |