Print database name

Поиск
Список
Период
Сортировка
От Woody Woodring
Тема Print database name
Дата
Msg-id 016d01c77781$20becc10$80b1a8c0@istructure.com
обсуждение исходный текст
Ответы Re: Print database name
Список pgsql-general
Is there a sql command to print out which database I am connected to?

I am using "psql -f sqlFile" in a sh script to up date tables on multiple
databases.  I would like to have the sqlFile display the db name so I would
know which output lines go with each db without having to count the output
lines.

Thanks,
Woody

----------------------------------------
iGLASS Networks
211-A S. Salem St
Apex NC 27502
(919) 387-3550 x813
www.iglass.net


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: inet_client_addr() implementation
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: Print database name