Whenever I use pg_dump, pgadmin2, or phpPgAdmin and I try to export the DDL and/or data from a PostgreSQL database, it always puts " (double quotes) around the table and column names. Does anyone have any ideas why? Do you know how to stop it from doing this??
Thanks!
Troy Campano
"Campano, Troy" <Troy.Campano@LibertyMutual.com> writes:
> Whenever I use pg_dump, pgadmin2, or phpPgAdmin and I try to export the DDL
> and/or data from a PostgreSQL database, it always puts " (double quotes)
> around the table and column names. Does anyone have any ideas why? Do you
> know how to stop it from doing this??
pg_dump -n. Dunno about the others.
The reason pg_dump does it is to protect names that might have become
reserved words in a later version of Postgres.
regards, tom lane
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера