| От | Wayne Cuddy |
|---|---|
| Тема | Partitioned Tables |
| Дата | |
| Msg-id | 20120613000545.GM19474@slacker.ja10629.home обсуждение |
| Ответы |
Re: Partitioned Tables
|
| Список | pgsql-sql |
I'm using partitioned tables where a child table is chosen based on a time stamp. One child table exists for each month. I move records from a temp table to the partitioned table via something like this: INSERT INTO parent_table SELECT * FROM temp_table; All works well but with when inserting to standard tables the insert result contains the number of records inserted. I've found that when I insert into partitioned tables the result is always zero. I'm using the TCL binding (pgintcl) but psql behaves the same way. Is there any way to determine the number of rows actually inserted? Thanks, Wayne
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера