"Ed L." <[EMAIL PROTECTED]> writes:
> +     /* 
> +      * We expect a strftime(%z) result of the form "[+-]HHMM" according to
> +      * RFC822-conformant dates, where HH:MM is the unsigned UTC offset.
> +      * If we don't get it, just return zero offset, and let the logs
> +      * rotate on UTC time boundaries.
> +      */
> + 
> +     count = strftime(msg, 6, "%z", localtime(&now));

That might work for you, but it's not portable.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
      joining column's datatypes do not match

Reply via email to