Re: setting up foreign keys

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: setting up foreign keys
Дата
Msg-id b42b73150608100633x2238b4bdodfd04d51434195c0@mail.gmail.com
обсуждение исходный текст
Ответ на Re: setting up foreign keys  (Chris <dmagick@gmail.com>)
Ответы Re: setting up foreign keys  (Chris <dmagick@gmail.com>)
Список pgsql-performance
On 8/10/06, Chris <dmagick@gmail.com> wrote:
> Sue Fitt wrote:
> > Thanks Chris and Chris, you've solved it.
> >
> > I had a gui open that connects to the database. It was doing nothing
> > (and not preventing me adding to or altering headwords_core via psql),
> > but having closed it the table is instantly created. Weird.
> >
> > BTW, referencing the same column twice is deliberate, it's a
> > cross-reference.
>
> The same column and the same table?
>
> Same column different table I could understand but not the same column &
> table ;)

create table color(color text);

create table person(eye_color text references color(color), hair_color
text references color(color));

;)
merlin

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

Предыдущее
От: Jeff Trout
Дата:
Сообщение: Re: most bang for buck with ~ $20,000
Следующее
От: "Luke Lonergan"
Дата:
Сообщение: Re: Postgresql Performance on an HP DL385 and