Обсуждение: Re: Default value for char/varchar columns is not quoted automaticaly

Поиск
Список
Период
Сортировка

Re: Default value for char/varchar columns is not quoted automaticaly

От
"Dave Page"
Дата:

> -----Original Message-----
> From: Oldrich Dlouhy [mailto:oldrich.dlouhy@seznam.cz]
> Sent: 03 October 2003 07:04
> To: PGAdmin support forum
> Subject: [pgadmin-support] Default value for char/varchar
> columns is not quoted automaticaly
>
>
> Default value for char/varchar columns is not quoted
> automaticaly when
> creating a table or adding new column to existing table.
>
> Same behavior is when creating the table.
>
> If this behavior is "by design" and the user required to enter the
> quotes manualy, take it please just as a feature request to
> automaticaly
> quote character-type defaults

It is by design because pgAdmin would have no way of determining whether
you are entering a literal string, or an expression which definately
shouldn't be quoted.
> Thank you for creating great tool as PGAdmin is.

You're welcome - glad you like it.

Regards, Dave.