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 will show you that they are both aliases for the same C function (text_substr_no_len). So they should be *exactly* the same speed. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq