Re: Display of foreign keys in psql
| От | Tom Lane |
|---|---|
| Тема | Re: Display of foreign keys in psql |
| Дата | |
| Msg-id | 14937.1244671466@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Display of foreign keys in psql (Peter Eisentraut <peter_e@gmx.net>) |
| Ответы |
Re: Display of foreign keys in psql
|
| Список | pgsql-hackers |
Peter Eisentraut <peter_e@gmx.net> writes:
> Referenced by:
> "test2_y_fkey" IN test2 FOREIGN KEY (y) REFERENCES test1(a)
> Is there a magic reason why the IN is capitalized? (Maybe "from" would be
> better anyway?)
I think it was probably done to make it more visually distinct from the
adjacent identifiers, which would be lowercase more often than not.
Personally I'd suggest losing the word altogether; what's wrong with
Referenced by: "test2_y_fkey" test2 FOREIGN KEY (y) REFERENCES test1(a)
Or use TABLE:
"test2_y_fkey" TABLE test2 FOREIGN KEY (y) REFERENCES test1(a)
regards, tom lane
В списке pgsql-hackers по дате отправления: