| От | Kenneth Marshall |
|---|---|
| Тема | Re: [pgsql-advocacy] MySQL to PostgreSQL, was ENUM type |
| Дата | |
| Msg-id | 20050728150449.GC23645@it.is.rice.edu обсуждение |
| Ответ на | Re: [pgsql-advocacy] MySQL to PostgreSQL, was ENUM type (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-general |
On Thu, Jul 28, 2005 at 12:53:07AM -0400, Tom Lane wrote: > Gregory Youngblood <pgcluster@netio.org> writes: > > ... the problem is unsigned bigint in mysql to postgresql. > > There's not another larger integer size that can be used that would > > allow the 18446744073709551615 (is that the max value?) max value > > available in mysql. Or am I missing something? > > You'd have to translate that to NUMERIC, which would work but would > take a bit of a performance hit ... > > regards, tom lane > Since the numeric range of the PostgreSQL bigint and the MySQL unsigned bigint is the same, just shifted. How difficult would it be to put a bigint overlay in PostgreSQL that would do that for you. We had to do this on the application side to make use of the PostgreSQL bigint and not the slower NUMERIC. Ken
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера