Re: [INTERFACES] parser: parse error at or near... with create table
В списке pgsql-interfaces по дате отправления:
| От | Brendan McKenna |
|---|---|
| Тема | Re: [INTERFACES] parser: parse error at or near... with create table |
| Дата | |
| Msg-id | 199907301708.SAA10602@w3s.ie обсуждение |
| Ответ на | Re: [INTERFACES] parser: parse error at or near... with create table ("D'Arcy" "J.M." Cain <darcy@druid.net>) |
| Список | pgsql-interfaces |
Hi,
My quick $0.02 worth...
:
: I guess the main question is, will we allow the serial type to be NULL.
: If not will we allow the NOT NULL phrase anyway to simplify the grammar.
: If yes to either then let's allow the phrase now.
:
I don't see how you can allow a serial value to be null, since that
would defeat the purpose of a serial (presuming there were more than one
NULL-valued serial in a table). I just don't see how, logically, a serial
could allow NULLs (even if it may be desirable in some cases).
On the other hand, I would allow the NOT NULL phrase, even though
it's redundant.
Brendan
--
Brendan McKenna
Technical Director Phone: +353-(0)61-338177 x4143
W3 Services Ltd. Fax: +353-(0)61-338065
Innovation Centre Email: brendan@w3s.ie
National Technological Park
Limerick
Ireland
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера