Assignment 1
Aim: add a new base data type to PostgreSQL
-
PersonName type, with literals like 'Shepherd,John'
- parse literals to canonical internal form, display them
- BNF grammar defines what strings are valid
PersonName s
- stored tuples may not be fixed-size (e.g. not simply 256)
- implement operations like equality and ordering tests
- provide for
PersonName s to be used in indexes
Hint: User-defined Types, Section 37.13 in PostgreSQL Docs
Testing data and testing framework available soon
Note: complex.* only gives you a rough sketch (e.g. fixed-size)
|