Unix Technical Forum

pg_regress config

This is a discussion on pg_regress config within the pgsql Hackers forums, part of the PostgreSQL category; --> I would like to add an argument to pg_regress that allows us to set some config options for the ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Hackers

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-15-2008, 09:50 PM
Andrew Dunstan
 
Posts: n/a
Default pg_regress config


I would like to add an argument to pg_regress that allows us to set some
config options for the temp install. Specifically right now I am
interested in setting the following:

log_line_prefix = '[%c] '
log_statement = 'all'
log_connections = 'true'

But I think it makes more sense to provide for a general option setting
mechanism, such as --extra_config=/path/to/some/file

This would dovetail neatly with the recent suggestion that we might
provide for buildfarm members to run several config sets.

Thoughts?

cheers

andrew

---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

http://www.postgresql.org/about/donate

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-15-2008, 09:50 PM
Magnus Hagander
 
Posts: n/a
Default Re: pg_regress config

Andrew Dunstan wrote:
>
> I would like to add an argument to pg_regress that allows us to set some
> config options for the temp install. Specifically right now I am
> interested in setting the following:
>
> log_line_prefix = '[%c] '
> log_statement = 'all'
> log_connections = 'true'
>
> But I think it makes more sense to provide for a general option setting
> mechanism, such as --extra_config=/path/to/some/file
>
> This would dovetail neatly with the recent suggestion that we might
> provide for buildfarm members to run several config sets.
>
> Thoughts?


I think the file makes a lot more sense - would keep you from ending up
with really horrible commandlines. Also, it would make it easier if you
want to set up different configs manually (the buildfarm script can
always manage).

What about the ability to pass options to initdb, while you're at it?
Like changing the locale? (which will break the scripts, but it should
only break them in predictable locations)

//Magnus

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:13 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com