Re: Spacing in output

Поиск
Список
Период
Сортировка
От Jerome Lyles
Тема Re: Spacing in output
Дата
Msg-id 200409151815.11773.susemail@hawaii.rr.com
обсуждение исходный текст
Ответ на Re: Spacing in output  (David Fetter <david@fetter.org>)
Список pgsql-general
On Wednesday 15 September 2004 05:24 am, David Fetter wrote:
> On Tue, Sep 14, 2004 at 06:37:40PM -1000, Jerome Lyles wrote:
> > On Tuesday 14 September 2004 11:27 am, David Fetter wrote:
> > > On Tue, Sep 14, 2004 at 11:05:46AM -1000, Jerome Lyles wrote:
> > > > I have a small training database: sql_tutorial.  It works fine
> > > > but the spacing between the output lines is too much.  This is
> > > > the way it looks when I copy and paste from the Konsole to this
> > > > email:
> > > >
> > > > sql_tutorial=> SELECT prod_name FROM Products;
> > >
> > > Is prod_name a char(n) for some large n?
> > >
> > > Cheers,
> > > D
> >
> > char(255)
>
> Well, Don't Do That, Then.  TEXT is a great type for storing text.
> VARCHAR(n) is a TEXT with a maximum length constraint, and CHAR(n)
> (fixed length) is pretty nearly obsolete.
>
> Cheers,
> D
This is amazing.  Im using a book called 'Teach Yourself SQL in 10 minutes'
with a 2004 copyright and this is the second example of obsolete TEXT type
used in the examples so far.
Jerome

В списке pgsql-general по дате отправления:

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: what is flushed?
Следующее
От: "alexandre:"@smtp2.netsite.com.br:aldeia digital
Дата:
Сообщение: pg_locks with users