| От | Edmund Bacon |
|---|---|
| Тема | Re: Novice Question |
| Дата | |
| Msg-id | m3ll97jb4g.fsf@elb_lx.onesystem.ca обсуждение исходный текст |
| Ответ на | Novice Question (Michael Romagnoli <michael@houseind.com>) |
| Список | pgsql-general |
michael@houseind.com (Michael Romagnoli) writes: > What kind of command would I run if I wanted to copy an entire table > (along with renaming it, and, of course, all data from the first table > - > some of which is binary)? SELECT * INTO newtable FROM oldtable; Note that this doesn't construct indexes, Foreign keys, constraints, etc. If by 'binary data' you mean BLOBs, I'd expect the above to work. Other than that, AFAIUI you have no reasonable expectation that your data is stored in any meaningful binary format by the database. All data could be internally stored as strings (though that might be very slow). -- Remove -42 for email
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера