Search Postgresql Archives

Print database name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux