| От | Tom Lane |
|---|---|
| Тема | Re: Trigger on 'create table' ? |
| Дата | |
| Msg-id | 29720.1035999745@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Trigger on 'create table' ? (Paul Ramsey <pramsey@refractions.net>) |
| Список | pgsql-hackers |
Paul Ramsey <pramsey@refractions.net> writes:
> Now, if we changed the geometry type so that when one defined a geometry
> column, one had to include info about what SRID and what dimension it
> was, (ala varchar(243)) maybe the whole schmeer could reside in pg_class
> and geometry_columns would be a trivial view?
atttypmod would be a natural place for that stuff, if you can fit it
into 31 bits. The bigger problem is how are you going to get
type-specific syntax through the Postgres parser? Currently, all the
types that use typmod have to have special-purpose syntax to set it.
I'm not eager to see extension datatypes trying to do the same thing...
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера