[GENERAL] Ajuda com definição

2017-01-24 Thread Márcio A . Sepp
campo como varchar(7) ou colocar um segundo campo na chave para identificar a informação. A considerar: 99,9% dos registros desta tabela são de tamanho 7. Dutra e demais da lista, qual a forma mais correta de modelar isso? -- Att. Márcio A. Sepp -- Sent via pgsql-general mailing list (pgsql

RES: [GENERAL] Chante domain type - Postgres 9.2

2016-09-26 Thread Márcio A . Sepp
> > Can you elaborate? Why would anyone create a text column to store > customer name or product name which can very well be in varchar(50) > type of cols. > > You sound like you think that varchar(50) is somehow cheaper than text. > That's backwards (at least in PG, other DBMSes may be differe