I am toying with the idea of deriving a couple of tables from a common table (though I am aware that there are some oddities with the way postgresql does inheritance). It should be possible to make entries into the derived tables, but not into the base table (because it really just doesn't have enough columns to be viable). Ignoring questions as to the advisability of the design, is it possible to check in a rule or a trigger function, which table it is exactly that is being updated, the base or the derived? Cheers, Gerard. _________________________________________________________________ Find a cheaper internet access deal - choose one to suit you. http://www.msn.co.uk/internetaccess
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера