Re: [GENERAL] String handling function, substring vs. substr

2006-10-02 Thread arsi
Hi all, brian <[EMAIL PROTECTED]> writes: [EMAIL PROTECTED] wrote: Does this mean that substr calls substring internally?? Or is it the other way around?? Or are they independent of each other?? Looks like they're pretty evenly matched. Actually, a bit of poking into the contents of pg_p

Re: [GENERAL] String handling function, substring vs. substr

2006-10-01 Thread Tom Lane
brian <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] wrote: >> Does this mean that substr calls substring internally?? Or is it the >> other way around?? Or are they independent of each other?? > Looks like they're pretty evenly matched. Actually, a bit of poking into the contents of pg_proc wi

Re: [GENERAL] String handling function, substring vs. substr

2006-10-01 Thread brian
[EMAIL PROTECTED] wrote: Hi all, I want to call one of the two functions above many times (in an aggregate function) and it says in the manual pages that substr is the same as substring. Does this mean that substr calls substring internally?? Or is it the other way around?? Or are they ind

[GENERAL] String handling function, substring vs. substr

2006-10-01 Thread arsi
Hi all, I want to call one of the two functions above many times (in an aggregate function) and it says in the manual pages that substr is the same as substring. Does this mean that substr calls substring internally?? Or is it the other way around?? Or are they independent of each other??