| От | Bruno Wolff III |
|---|---|
| Тема | Re: select only default |
| Дата | |
| Msg-id | 20030516023059.GA23312@wolff.to обсуждение исходный текст |
| Ответ на | select only default (Nabil Sayegh <postgresql@e-trolley.de>) |
| Список | pgsql-novice |
On Fri, May 16, 2003 at 01:32:03 +0200, Nabil Sayegh <postgresql@e-trolley.de> wrote: > Hi all, > > just for curiosity: > > Is it possible to SELECT a row that consists only of default values of a > table ? There is probably some way to get the data out of the system tables. If the defaults are constants you might be able to easily present it. However, for what you are doing it may be better to put the defaults in a separate table and get them from there. You will have to create a function(s) for getting the default values since you can't use select in a default clause.
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера