RE: [HACKERS] New SQL Datatype RECURRINGCHAR

2001-07-10 Thread David Bennett
The only problem with 'enum' is that all of the possible values must be specified at CREATE time. A logical extension to this would be to allow for 'dynamic extensions' to the list. -Original Message- From: Tom Lane [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 03, 2001 4:49 PM To: Rod

RE: [HACKERS] New SQL Datatype RECURRINGCHAR

2001-07-10 Thread David Bennett
>> It's apparent that there is a lot of duplicate space used in the storage >> of this information. The idea is if order.status was stored as a >> RECURRINGCHAR >> then the only data stored for the row would be a reference to the value of >> the column. The actual values would be stored in a sepa

RE: [HACKERS] New SQL Datatype RECURRINGCHAR

2001-07-10 Thread David Bennett
> various disagreements and "quotes"... I agree that you disagree :) RECURRINGCHAR does not break normal form. It simply optimizes the storage of reference values (recurring keys). This allows for the use of 'long words' as reference values with a great deal of system storage savings and

RE: [HACKERS] New SQL Datatype RECURRINGCHAR

2001-07-10 Thread David Bennett
Alex, I think I fully understand your position. Let me put wrap up our conversation so far. Given the application requirements: 1) contacts have a type. 2) new types must be added on the fly as needed. 3) types names rarely change. 4) the number of contacts should scale to support m