A simple question (under pressure :-))....

Поиск
Список
Период
Сортировка
От John Wells
Тема A simple question (under pressure :-))....
Дата
Msg-id 20040229203752.774708fe.jb@sourceillustrated.com
обсуждение исходный текст
Ответы Re: A simple question (under pressure :-))....  (Doug McNaught <doug@mcnaught.org>)
Re: A simple question (under pressure :-))....  (Csaba Nagy <nagy@ecircle-ag.com>)
Список pgsql-general
Guys,

I have approx. 8 hours to finish a deadline, so I can no longer spend time searching google...haven't found the answer
yet.

In PG, is there not a way to select amongst databases?

In other words, if I have one schema called sch1 and another called sch2, and I'm connected to sch2, could I not do:

select fieldname from sch1.tablename

I'm running 7.2.3, so I think there was no such things as a schema in this release...just a database, but can't recall.
 

It seems I've been able to do this in the past, but I may be remembering wrong.

Thanks!
John

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

Предыдущее
От: "Uwe C. Schroeder"
Дата:
Сообщение: Re: count(1) return 0?
Следующее
От: Klint Gore
Дата:
Сообщение: Re: count(1) return 0?