> > I already said it. The to_char() is 'tm' struct interpreter and use > > standard internal PG routines for interval to 'tm' conversion. > The point is it should _not_ do that for interval.
I use the tm structure to hold this structured information. I *think* that Karel's usage is just what is intended by my support routines, though I haven't looked at it in quite some time. Let me know if you want me to look Karel... - Thomas ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/users-lounge/docs/faq.html