| От | Paul Skinner |
|---|---|
| Тема | Text Type |
| Дата | |
| Msg-id | 001e01c084e8$69015cf0$03320a0a@skinz обсуждение исходный текст |
| Список | pgsql-docs |
SQL defines two primary character types: character and character varying. Postgres supports these types, in addition to the more general text type, which unlike character varying does not require an explicit declared upper limit on the size of the field.
Table 3-4. Postgres Character Types
| Character Type | Storage | Recommendation | Description |
|---|---|---|---|
| character(n), char(n) | (4+n) bytes | SQL-compatible | Fixed-length blank padded |
| character varying(n), varchar(n) | (4+n) bytes | SQL-compatible | Variable-length with limit |
| text | (4+n) bytes | Most flexible | Variable unlimited length |
В списке pgsql-docs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера