Search Postgresql Archives

Re: Getting show results into a table

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

 



Little, Douglas wrote:

> Is there a way in sql to get the results of the show all command into a table?
> 
> I'm expecting something like
> Insert into Config_history as select * from (show all);

insert into Config_history
  select name, setting, short_desc from pg_settings;

or maybe:

create table config_history as
  select name, setting, short_desc as description from pg_settings;

-Kevin


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[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