Re: [SQL] Working with dates before 4713 BC

2008-05-05 Thread Phillip Smith
> Do you really need microsecond, or even day, resolution in your dates? I wonder if it'd not be good enough to store the year as an integer. Maybe 2 columns: date_col type date = For dates post 4713BC. Set to NULL if ealier than 4713BC. year_col type integer = Store the year from date_col Then w

Re: [SQL] Working with dates before 4713 BC

2008-05-05 Thread Tom Lane
Ryan Wallace <[EMAIL PROTECTED]> writes: > I am building an application which requires the storage of dates relating to > the creation of archaeological items. The problem I am facing is that > although most of the dates are working fine, some of the items were created > before the beginning of rec

[SQL] Working with dates before 4713 BC

2008-05-05 Thread Ryan Wallace
Hi all, I am building an application which requires the storage of dates relating to the creation of archaeological items. The problem I am facing is that although most of the dates are working fine, some of the items were created before the beginning of recorded history (4713 BC). Does an