Re: Querying the schema for column widths - what syntax do I use?
В списке pgsql-general по дате отправления:
| От | A. Kretschmer |
|---|---|
| Тема | Re: Querying the schema for column widths - what syntax do I use? |
| Дата | |
| Msg-id | 20080221111207.GD22594@a-kretschmer.de обсуждение |
| Ответ на | Querying the schema for column widths - what syntax do I use? (Howard Wilkinson <howard@cohtech.com>) |
| Список | pgsql-general |
am Thu, dem 21.02.2008, um 10:44:32 +0000 mailte Howard Wilkinson folgendes: > I am working on some upgrades to the MyDNS open source product. I have > some expertise in MySQL but am not overly familiar with PostgreSQL and > need some guidance on how to query the schema for the maximum size of > data a column can hold. > > In MySQL I can do either: a "DESCRIBE" command or do "SELECT COLUMNS" > command. And then parse the result for the length in the type column of > the row returned. How would I do a similar function using PostgreSQL - I > have tried to find this in the manuals and in this mailing list but not > found any pointers to get me started. http://www.alberton.info/postgresql_meta_info.html Andreas -- Andreas Kretschmer Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header) GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера