2000-01-25:添加了to_char()函数
25年前的今天(PostgreSQL 7.0 开发周期),添加了 to_char() 及相关函数
commit b866d2e2d79416f8497e4dffa7e800298d018f6c Author: Bruce Momjian <bruce@momjian.us> Date: Tue Jan 25 23:53:56 2000 +0000 as attache of this mail is patch (to the main tree) with to_char's family functions. Contain: conversion from a datetype to formatted text: to_char( datetime, text) to_char( timestamp, text) to_char( int4, text) to_char( int8, text) to_char( float4, text) to_char( float8, text) to_char( numeric, text) vice versa: to_date ( text, text) to_datetime ( text, text) to_timestamp ( text, text) to_number ( text, text) (convert to numeric) PostgreSQL to_char is very compatible with Oracle's to_char(), but not total exactly (now). Small differentions are in number formating. It will fix in next to_char() (...) Karel Zak <zakkr@zf.jcu.cz> http://home.zf.jcu.cz/~zakkr/
(为简洁起见,省略了部分提交信息)
随后移除了 to_datetime() 函数(提交 41f1f5b7)。