Mohsen Alimomeni <m.alimom...@gmail.com> writes: > I want to try to add a multi calendar system for pgsql. I want to know if it > will be accepted as a patch to pgsql?
There's probably about zero chance of accepting such a thing into core, but maybe you could do it as an add-on (pgfoundry project). > For implementation I think it is better to add this support in date fields > like this: > create table tb (dt date calendar persian); Consider specifying the calendar as a typmod, eg create table tb (dt cdate(persian)); since the necessary extension hooks already exist for that. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers