Re: Querying the schema for column widths - what syntax do I use?

Поиск
Список
Период
Сортировка
Искать
От
Richard Huxton
Тема
Re: Querying the schema for column widths - what syntax do I use?
Дата
Msg-id
47BD5B48.4020505@archonet.com
Ответ на
Список
Дерево обсуждения
Querying the schema for column widths - what syntax do I use? Howard Wilkinson <howard@cohtech.com>
Re: Querying the schema for column widths - what syntax do I use? "A. Kretschmer" <andreas.kretschmer@schollglas.com>
Re: Querying the schema for column widths - what syntax do I use? Richard Huxton <dev@archonet.com>
Re: Querying the schema for column widths - what syntax do I use? Howard Wilkinson <howard@cohtech.com>
Re: Querying the schema for column widths - what syntax do I use? "A. Kretschmer" <andreas.kretschmer@schollglas.com>
Re: Querying the schema for column widths - what syntax do I use? Tino Wildenhain <tino@wildenhain.de>
Re: Querying the schema for column widths - what syntax do I use? Howard Wilkinson <howard@cohtech.com>
Re: Querying the schema for column widths - what syntax do I use? Martijn van Oosterhout <kleptog@svana.org>
Howard Wilkinson wrote:
> 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.

Unless you're after PG-specific stuff, it's probably best to use the 
information-schema.

http://www.postgresql.org/docs/8.3/static/information-schema.html

This has a standard layout cross-database, so will help you to extend 
you app across other systems. I think it's supported in the latest 
version of MySQL too.

-- 
   Richard Huxton
   Archonet Ltd
В списке pgsql-general по дате отправления
От: Howard Wilkinson
Дата:
От: Stephen Davies
Дата:
Сообщение: Re: ts_headline
FAQ