> How would I list all tables in a database? You can list all tables with: select * from pg_class; but that will give you system tables also. I think that if you use the \z command in psql, it will give you a list of all tables in the current database. Matt
On 16-Jul-98 Fandarel wrote: >> How would I list all tables in a database? > > You can list all tables with: > > select * from pg_class; > > but that will give you system tables also. > > I think that if you use the \z command in psql, it will give you a list > of all tables in the current database. > > Matt > It's in docs even maybe in FAQs, or in archive - it was already discussed. +-----------------------------------------------------------------------------+ | ROSTISLAV MATL, student of Masaryk University - Faculty of Informatics | | e-mail: xmatl@fi.muni.cz WWW: http://www.fi.muni.cz/~xmatl/index.html | +-----------------------------------------------------------------------------+
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера