3 ms·
Relations are tables, indexes, views, etc. When you create one, PG will also create a composite data type[1] that corresponds to one of its rows. And you can us
by icebraining 11y ago
Relations are tables, indexes, views, etc. When you create one, PG will also create a composite data type[1] that corresponds to one of its rows. And you can use those types in interesting ways - for example, you can have a column in a table that stores a complete composite value.
[1] http://www.postgresql.org/docs/9.3/static/rowtypes.html http://www.postgresql.org/docs/9.3/static/rowtypes.html