| От | Tom Lane |
|---|---|
| Тема | Re: [HACKERS] OID 718 and Circle |
| Дата | |
| Msg-id | 17540.936192388@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | OID 718 and Circle ("G. Anthony Reina" <reina@nsi.edu>) |
| Список | pgsql-hackers |
"G. Anthony Reina" <reina@nsi.edu> writes:
> Okay, I finally convinced my partner that making a table named 'circle'
> and dropping the type 'circle' to compensate is just a bad idea. We're
> going to rename the table 'circles' and restore the 'circle' type. Could
> you give me the psql command line to restore the circle type?
I think you gotta rebuild the database --- if you just do a new CREATE
TYPE for circle, it won't have the right OID...
You might be able to do a COPY WITH OIDS out of template1's pg_type,
edit it down to just the line for OID 718, and then COPY WITH OIDS
to your own database's pg_type. Not sure if that will work though.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера