What is an Ignore list?
Proposal to Re-Order Postgresql.Conf, part II
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What is interesting here?
• Duels
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Register!

QAIX > PostgreSQL database development > Proposal to Re-Order Postgresql.Conf, part II 11 June 2003 00:39:48

  Top users: 
  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Модератор:

Proposal to Re-Order Postgresql.Conf, part II

Josh Berkus 5 June 2003 18:23:47
 Folks,

Last we talked (before the mail server went down) Tom had agreed in principle
to a re-ordering of postgresql.conf.sam­ple and the "Run-Time Configuration"
docs page based on the attached ordering file.

I would like to make this happen before feature-freeze on June 15. To do
that, I need more info:

1) Are any additional changes expected for GUC.c before feature-freeze?

2) Are all of the new GUC.c variables for 7.4 already documented in the CVS
docs? If not, can the responsible parties send me descriptions so that I can
doc it?

3) Do people want me to take a stab at re-ordering GUC.c as well (that is,
Tom's idea of having the GUC.c ordering alphabetical within each variable
type), considering that I am not a C programmer?

4) Does anyone else have any comments on the proposed re-ordering?

--
Josh Berkus
Aglio Database Solutions
San Francisco


#CONNECTIONS AND AUTHENTICATION
#Connection Settings
tcpip_socket
max_connections
superuser_reserved_­connections
port
unix_socket_directo­ry
unix_socket_group
unix_socket_permiss­ions
#Security & Authentication
ssl
authentication_time­out
virtual_host
krb_server_keyfile
db_user_namespace


#RESOURCE USAGE (except WAL)
#Memory
shared_buffers
sort_mem
vacuum_mem
#Free Space Map
max_fsm_relations
max_fsm_pages
#Disk Usage
max_files_per_proce­ss


#WRITE AHEAD LOG
fsync
wal_sync_method
wal_buffers
checkpoint_segments­
checkpoint_timeout
commit_delay
commit_siblings
wal_debug

#QUERY TUNING
#Join Methods
enable_seqscan
enable_indexscan
enable_tidscan
enable_sort
enable_nestloop
enable_mergejoin
enable_hashjoin
#Planner Cost Constants
effective_cache_siz­e
random_page_cost
cpu_tuple_cost
cpu_index_tuple_cos­t
cpu_operator_cost
default_statistics_­target
#Genetic Estimate Query Optimizer
geqo
geqo_threshold
geqo_selection_bias­
geqo_pool_size
geqo_effort
geqo_generations
geqo_random_seed
#Other
explain_pretty_prin­t
max_expr_depth


#CLIENT CONNECTION DEFAULTS
#Statement Behaviour
autocommit
search_path
default_transaction­_isolation
statement_timeout
#Locale and Formatting
datestyle
timezone
australian_timezone­s
client_encoding
lc_messages
lc_monetary
lc_time
lc_numeric
#Other Defaults
dynamic_library_pat­h
password_encryption­


#LOGGING & DEBUGGING
#Debugging/Logging Levels
server_min_messages­
client_min_messages­
log_min_error_state­ment
debug_print_parse
debug_print_rewritt­en
debug_print_plan
debug_pretty_print
debug_assertions
silent_mode
#Additional Info to Log
log_connections
log_pid
log_statement
log_duration
log_timestamp
hostname_lookup
show_source_port
#Syslog
syslog
syslog_facility
syslog_ident


#STATISTICS
#Statistics monitoring
show_parser_stats
show_planner_stats
show_executor_stats­
show_statement_stat­s
#Query/Index Statistics Collector
stats_start_collect­or
stats_reset_on_serv­er_start
stats_command_strin­g
stats_row_level
stats_block_level


#LOCK MANAGEMENT
max_locks_per_trans­action
deadlock_timeout


#VERSION COMPATIBILITY OPTIONS
sql_inheritance
transform_null_equa­ls









-------------------­--------(end of broadcast)---------­------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgres­ql.org/docs/faqs/FAQ­.html
Add comment
Rod Taylor 5 June 2003 20:29:31 permanent link ]
 
4) Does anyone else have any comments on the proposed re-ordering?

Since we're painting a shed, does it make sense to put the items in
alphabetical order for each section?

--
Rod Taylor <rbt@rbt.ca>

PGP Key: http://www.rbt.ca/r­btpub.asc
Add comment
Josh Berkus 5 June 2003 21:16:53 permanent link ]
 Rod,
4) Does anyone else have any comments on the proposed re-ordering?>
Since we're painting a shed, does it make sense to put the items in> alphabetical order for each section?

I thought about that, yes. However, I find that most items have a logical
order that is not alphabetical. Take the WAL section for example:

"fsync" needs to go first, because if it is set to "false" the rest of the WAL
settings don't matter.

"wal_sync_method" and "wal_buffers" are the "most important" (or, at least,
most likely to be tinkered with) settings so they sould go immdiately after.

"checkpoint_segment­s, checkpoint_timeout,­ commit_delay, commit_siblings" are
all directly related and should to appear in that order (which, oddly enough,
happens to be alphabetical).

"wal_debug" is seldom used outside of Postgresql source development or unusual
system failures, and should therefore go last.

I have tried to order other parameters by applying the same logic, which
essentially amounts to: order by most important/most likely to be changed,
grouping settings that need to be manipulated together. I'd be happy to
hear your comments on my application of that logic.

BTW, everyone: I do not seem to be receiving any Postgresql.org mail since
the server crash & restoration. So please cc: any comments directly to me!

--
-Josh Berkus
Aglio Database Solutions
San Francisco


-------------------­--------(end of broadcast)---------­------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresq­l.org

Add comment
Rod Taylor 5 June 2003 21:39:36 permanent link ]
 On Thu, 2003-06-05 at 14:16, Josh Berkus wrote:> Rod,>
4) Does anyone else have any comments on the proposed re-ordering?> >
Since we're painting a shed, does it make sense to put the items in> > alphabetical order for each section?>
I thought about that, yes. However, I find that most items have a logical > order that is not alphabetical. Take the WAL section for example:

Excellent point.
BTW, everyone: I do not seem to be receiving any Postgresql.org mail since > the server crash & restoration. So please cc: any comments directly to me!

You re-subscribed I assume...

--
Rod Taylor <rbt@rbt.ca>

PGP Key: http://www.rbt.ca/r­btpub.asc
Add comment
Tom Lane 6 June 2003 18:29:58 permanent link ]
 Josh Berkus <josh@agliodbs.com>­ writes:> 1) Are any additional changes expected for GUC.c before feature-freeze?

I'm still thinking of adding an am_superuser variable so that psql can
rely on the new ParameterStatus mechanism instead of explicit queries to
find out if you're superuser. But this would be a read-only variable
and so should not appear in postgresql.conf. Offhand I'm not aware of
any other proposed additions ... but something might turn up.
2) Are all of the new GUC.c variables for 7.4 already documented in the CVS > docs?

They should be.

regards, tom lane

-------------------­--------(end of broadcast)---------­------------------
TIP 4: Don't 'kill -9' the postmaster

Add comment
Robert Treat 6 June 2003 23:30:54 permanent link ]
 On Thu, 2003-06-05 at 11:23, Josh Berkus wrote:>
4) Does anyone else have any comments on the proposed re-ordering?>

I think this was touched on before, but was there a final determination
of the ordering of the "show all" command? I'm hoping that will return
in the new order of the postgresql.conf

Robert Treat
--
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL


-------------------­--------(end of broadcast)---------­------------------
TIP 6: Have you searched our list archives?

http://archives.pos­tgresql.org

Add comment
Tom Lane 7 June 2003 18:27:02 permanent link ]
 Robert Treat <xzilla@users.sourc­eforge.net> writes:> I think this was touched on before, but was there a final determination> of the ordering of the "show all" command?

SHOW ALL will remain alphabetical.

regards, tom lane

-------------------­--------(end of broadcast)---------­------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgres­ql.org/docs/faqs/FAQ­.html

Add comment
Bruce Momjian 7 June 2003 19:33:10 permanent link ]
 
I think people thought if you were doing SHOW ALL, you were looking for
a specific variable, so alphabetical was best.

-------------------­--------------------­--------------------­----------------

Robert Treat wrote:> On Thu, 2003-06-05 at 11:23, Josh Berkus wrote:> >
4) Does anyone else have any comments on the proposed re-ordering?> >
I think this was touched on before, but was there a final determination> of the ordering of the "show all" command? I'm hoping that will return> in the new order of the postgresql.conf>
Robert Treat> -- > Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL>
-------------------­--------(end of broadcast)---------­------------------> TIP 6: Have you searched our list archives?>

--
Bruce Momjian | http://candle.pha.p­a.us
pgman@candle.pha.pa­.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

-------------------­--------(end of broadcast)---------­------------------
TIP 6: Have you searched our list archives?

http://archives.pos­tgresql.org

Add comment
Tom Lane 8 June 2003 18:38:42 permanent link ]
 Josh Berkus <josh@agliodbs.com>­ writes:> "wal_debug" is seldom used outside of Postgresql source development or unusual > system failures, and should therefore go last.

BTW, it occurs to me that wal_debug is one of the hacker-only variables
that probably ought not be documented at all. I cannot imagine any use
for it for the average DBA.

regards, tom lane

-------------------­--------(end of broadcast)---------­------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresq­l.org so that your
message can get through to the mailing list cleanly

Add comment
Robert Treat 8 June 2003 23:52:29 permanent link ]
 I kind of prefer the way things were grouped together in 7.2 vs. 7.3. If I
needed to check out connection information or look at query tuning flags,
they were all right next to each other and I didn't have to scroll back and
forth through the list. Luckily most of the topical variables share somewhat
common names (max_fsm_relations and max_fsm_pages) or else it would really be
easy to overlook some settings.

Robert Treat

On Saturday 07 June 2003 12:33 pm, Bruce Momjian wrote:> I think people thought if you were doing SHOW ALL, you were looking for> a specific variable, so alphabetical was best.>
-------------------­--------------------­--------------------­---------------->
Robert Treat wrote:> > On Thu, 2003-06-05 at 11:23, Josh Berkus wrote:> > > 4) Does anyone else have any comments on the proposed re-ordering?> >
I think this was touched on before, but was there a final determination> > of the ordering of the "show all" command? I'm hoping that will return> > in the new order of the postgresql.conf> >
Robert Treat> > --> > Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL> >
-------------------­--------(end of broadcast)---------­------------------> > TIP 6: Have you searched our list archives?> >


-------------------­--------(end of broadcast)---------­------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresq­l.org so that your
message can get through to the mailing list cleanly

Add comment
Justin Clift 9 June 2003 13:41:05 permanent link ]
 Tom Lane wrote:> Josh Berkus <josh@agliodbs.com>­ writes:>
"wal_debug" is seldom used outside of Postgresql source development or unusual >>system failures, and should therefore go last.>
BTW, it occurs to me that wal_debug is one of the hacker-only variables> that probably ought not be documented at all. I cannot imagine any use> for it for the average DBA.

Um, not documenting it is probably not a good move for us, however putting it at the end in a section marked "Developer Focused" or something similar would
probably have the right mix of messages. i.e. "hands off" + "not a performance tweak", etc.

:-)­

Regards and best wishes,

Justin Clift

regards, tom lane>
-------------------­--------(end of broadcast)---------­------------------> TIP 3: if posting/reading through Usenet, please send an appropriate> subscribe-nomail command to majordomo@postgresq­l.org so that your> message can get through to the mailing list cleanly


--
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
- Indira Gandhi


-------------------­--------(end of broadcast)---------­------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgres­ql.org/docs/faqs/FAQ­.html

Add comment
Josh Berkus 9 June 2003 19:28:45 permanent link ]
 Tom, Justin,
Um, not documenting it is probably not a good move for us, however putting> it at the end in a section marked "Developer Focused" or something similar> would probably have the right mix of messages. i.e. "hands off" + "not a> performance tweak", etc.

So, proposal:

1) wal_debug and the various trace_locks options will not be included in
postgresql.conf.sam­ple

2) they will, however, be included in the "Run Time Configuration" page, under
a secion entitled "Source Develoment Options"

Work for everybody?

--
Josh Berkus
Aglio Database Solutions
San Francisco

-------------------­--------(end of broadcast)---------­------------------
TIP 4: Don't 'kill -9' the postmaster

Add comment
Josh Berkus 9 June 2003 22:45:27 permanent link ]
 Tom,

Hey, I'm looking at the postgresql.conf.sam­ple in CVS, and can't find the
option that's supposed to let you turn off "Inserting missing FROM clause for
table ..."

I thought that patch was accepted 3 weeks ago? Is this just missing from
postgresql.conf.sam­ple?

--
-Josh Berkus
Aglio Database Solutions
San Francisco


-------------------­--------(end of broadcast)---------­------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHer­e" to majordomo@postgresq­l.org)

Add comment
Tom Lane 9 June 2003 23:10:25 permanent link ]
 Josh Berkus <josh@agliodbs.com>­ writes:> Hey, I'm looking at the postgresql.conf.sam­ple in CVS, and can't find the > option that's supposed to let you turn off "Inserting missing FROM clause for> table ..."

Bruce hasn't applied that patch yet. I believe he's starting to catch
up the patch backlog today, though.

BTW there is also a pending patch that will add a GUC variable to
control "rendezvous" on Darwin. I had forgotten what-all was in the
patch queue until I looked this morning.

regards, tom lane

-------------------­--------(end of broadcast)---------­------------------
TIP 4: Don't 'kill -9' the postmaster

Add comment
Josh Berkus 9 June 2003 23:13:48 permanent link ]
 Tom,
Bruce hasn't applied that patch yet. I believe he's starting to catch> up the patch backlog today, though.>
BTW there is also a pending patch that will add a GUC variable to> control "rendezvous" on Darwin. I had forgotten what-all was in the> patch queue until I looked this morning.

Well, all I need right now is names for those options. Can you give me that?

Thanks!

--
-Josh Berkus
Aglio Database Solutions
San Francisco


-------------------­--------(end of broadcast)---------­------------------
TIP 6: Have you searched our list archives?

http://archives.pos­tgresql.org

Add comment
Josh Berkus 9 June 2003 23:37:27 permanent link ]
 Folks,

Attached is another order outline for the Postgresql.conf parameters, updated
for 7.4. Please examine it, and then give your opinions on the following:

1) Should "enable_implicit_fr­om" go in the "Version/Platform Compatibility"
section where I have it now, or in "CLIENT CONNECTIONS-Stateme­nt Behavior",
or somewhere else?

2) Where should "preload_libraries"­ go? I'm very reluctant to start a
"Misc." section.

3) I have re-ordered each subsection somewhat. The fixed ordering is based
on:
a) My guess at the frequency with which that option will be changed, with
more common options toward the top of the subsection;
b) Grouping for tightly related options and for options that cascade;
c) where (a) and (b) are unclear, alpha order.
Does this order make sense looking at the file?

3) Should we use indenting in PostgreSQL.conf.sam­ple? I tend to think it
would make the file easier to read, but I'm not sure what effect it would
have, if any, on parsing the file and whether other people would find it easy
to read.

--
-Josh Berkus
Aglio Database Solutions
San Francisco



#CONNECTIONS AND AUTHENTICATION
#Connection Settings
tcpip_socket
max_connections
superuser_reserved_­connections
port
unix_socket_directo­ry
unix_socket_group
unix_socket_permiss­ions
#Security & Authentication
authentication_time­out
ssl
krb_server_keyfile
virtual_host
db_user_namespace


#RESOURCE USAGE (except WAL)
#Memory
shared_buffers
sort_mem
vacuum_mem
#Free Space Map
max_fsm_pages
max_fsm_relations
#Disk Usage
max_files_per_proce­ss


#WRITE AHEAD LOG
fsync
wal_sync_method
wal_buffers
checkpoint_segments­
checkpoint_timeout
checkpoint_warning
commit_delay
commit_siblings

#QUERY TUNING
#Planner Method Enabling
enable_hashagg
enable_hashjoin
enable_indexscan
enable_mergejoin
enable_nestloop
enable_seqscan
enable_sort
enable_tidscan

#Planner Cost Constants
effective_cache_siz­e
random_page_cost
cpu_tuple_cost
cpu_index_tuple_cos­t
cpu_operator_cost
default_statistics_­target
#Genetic Estimate Query Optimizer
geqo
geqo_threshold
geqo_selection_bias­
geqo_pool_size
geqo_effort
geqo_generations
geqo_random_seed
#Other Query Modifiers
explain_pretty_prin­t
from_collapse_limit­
join_collapse_limit­
max_expr_depth



#CLIENT CONNECTION DEFAULTS
#Statement Behaviour
autocommit
search_path
default_transaction­_isolation
default_transaction­_read_only
statement_timeout
#Locale and Formatting
client_encoding
australian_timezone­s
datestyle
timezone
lc_messages
lc_monetary
lc_time
lc_numeric
#Other Defaults
dynamic_library_pat­h
password_encryption­


#LOGGING & DEBUGGING
#Debugging/Logging Levels
server_min_messages­
client_min_messages­
log_min_error_state­ment
debug_print_parse
debug_print_rewritt­en
debug_print_plan
debug_pretty_print
debug_assertions
silent_mode
#Additional Info to Log
log_connections
log_duration
log_pid
log_statement
log_timestamp
hostname_lookup
show_source_port
#Syslog
syslog
syslog_facility
syslog_ident


#STATISTICS
#Statistics monitoring
show_parser_stats
show_planner_stats
show_executor_stats­
show_statement_stat­s
#Query/Index Statistics Collector
stats_start_collect­or
stats_reset_on_serv­er_start
stats_command_strin­g
stats_row_level
stats_block_level


#LOCK MANAGEMENT
deadlock_timeout
max_locks_per_trans­action



#VERSION/PLATFORM COMPATIBILITY OPTIONS
enable_implicit_fro­m
have_rendezvous
regex_flavor
sql_inheritance
transform_null_equa­ls












-------------------­--------(end of broadcast)---------­------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHer­e" to majordomo@postgresq­l.org)
Add comment
Bruce Momjian 10 June 2003 07:43:16 permanent link ]
 Josh Berkus wrote:> Tom, Justin,>
Um, not documenting it is probably not a good move for us, however putting> > it at the end in a section marked "Developer Focused" or something similar> > would probably have the right mix of messages. i.e. "hands off" + "not a> > performance tweak", etc.>
So, proposal:>
1) wal_debug and the various trace_locks options will not be included in > postgresql.conf.sam­ple

Attached is the patch I will apply.
2) they will, however, be included in the "Run Time Configuration" page, under > a secion entitled "Source Develoment Options"

Makes sense, I guess.

--
Bruce Momjian | http://candle.pha.p­a.us
pgman@candle.pha.pa­.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073


Index: src/backend/utils/m­isc/guc.c
===================­====================­====================­========
RCS file: /cvsroot/pgsql-serv­er/src/backend/utils­/misc/guc.c,v
retrieving revision 1.127
diff -c -c -r1.127 guc.c
*** src/backend/utils/m­isc/guc.c28 May 2003 18:19:09 -00001.127
--- src/backend/utils/m­isc/guc.c2 Jun 2003 16:03:20 -0000
***************
*** 689,694 ****
--- 689,695 ----
60, 1, 600, NULL, NULL
},

+ /* Not for general use */
{
{"pre_auth_delay", PGC_SIGHUP}, &PreAuthDelay,
0, 0, 60, NULL, NULL
***************
*** 871,876 ****
--- 872,878 ----
"$user,public", assign_search_path,­ NULL
},

+ /* Can't be set in postgresql.conf */
{
{"server_encoding",­ PGC_INTERNAL, GUC_REPORT},
&server_encoding_st­ring,
***************
*** 888,893 ****
--- 890,896 ----
"notice", assign_log_min_mess­ages, NULL
},

+ /* Not for general use --- used by SET SESSION AUTHORIZATION */
{
{"session_authoriza­tion", PGC_USERSET, GUC_NO_SHOW_ALL | GUC_NO_RESET_ALL},
&session_authorizat­ion_string,
Index: src/backend/utils/m­isc/postgresql.conf.­sample
===================­====================­====================­========
RCS file: /cvsroot/pgsql-serv­er/src/backend/utils­/misc/postgresql.con­f.sample,v
retrieving revision 1.78
diff -c -c -r1.78 postgresql.conf.sam­ple
*** src/backend/utils/m­isc/postgresql.conf.­sample14 May 2003 03:26:02 -00001.78
--- src/backend/utils/m­isc/postgresql.conf.­sample2 Jun 2003 16:03:20 -0000
***************
*** 182,201 ****


#
- #Lock Tracing
- #
- #trace_notify = false
-
- # requires LOCK_DEBUG
- #trace_locks = false
- #trace_userlocks = false
- #trace_lwlocks = false
- #debug_deadlocks = false
- #trace_lock_oidmin = 16384
- #trace_lock_table = 0
-
-
- #
#Misc
#
#dynamic_library_pa­th = '$libdir'
--- 182,187 ----



-------------------­--------(end of broadcast)---------­------------------
TIP 4: Don't 'kill -9' the postmaster
Add comment
Bruce Momjian 10 June 2003 07:51:49 permanent link ]
 Josh Berkus wrote:> Tom,>
Hey, I'm looking at the postgresql.conf.sam­ple in CVS, and can't find the > option that's supposed to let you turn off "Inserting missing FROM clause for > table ...">
I thought that patch was accepted 3 weeks ago? Is this just missing from > postgresql.conf.sam­ple?

It is in the patch queue --- I am applying tomorrow.

--
Bruce Momjian | http://candle.pha.p­a.us
pgman@candle.pha.pa­.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

-------------------­--------(end of broadcast)---------­------------------
TIP 4: Don't 'kill -9' the postmaster

Add comment
Nigel J. Andrews 10 June 2003 13:58:59 permanent link ]
 On Mon, 9 Jun 2003, Tom Lane wrote:
Josh Berkus <josh@agliodbs.com>­ writes:> > Hey, I'm looking at the postgresql.conf.sam­ple in CVS, and can't find the > > option that's supposed to let you turn off "Inserting missing FROM clause for> > table ...">
Bruce hasn't applied that patch yet. I believe he's starting to catch> up the patch backlog today, though.>

Are you sure about that? I seem to remember seeing the "will be applied within
24 hours" message a couple of weeks or so ago now. Is this a feature of the
recent system problems and lost patches are having to be reapplied?

As for it's name Josh, sorry, I don't have a record of my patch and the name
used in the patch differs to that which I have in my source tree.


--
Nigel Andrews


-------------------­--------(end of broadcast)---------­------------------
TIP 4: Don't 'kill -9' the postmaster

Add comment
Bruce Momjian 10 June 2003 18:45:01 permanent link ]
 Nigel J. Andrews wrote:> On Mon, 9 Jun 2003, Tom Lane wrote:>
Josh Berkus <josh@agliodbs.com>­ writes:> > > Hey, I'm looking at the postgresql.conf.sam­ple in CVS, and can't find the > > > option that's supposed to let you turn off "Inserting missing FROM clause for> > > table ..."> >
Bruce hasn't applied that patch yet. I believe he's starting to catch> > up the patch backlog today, though.> >
Are you sure about that? I seem to remember seeing the "will be applied within> 24 hours" message a couple of weeks or so ago now. Is this a feature of the> recent system problems and lost patches are having to be reapplied?>
As for it's name Josh, sorry, I don't have a record of my patch and the name> used in the patch differs to that which I have in my source tree.

Yes, it is in the queue:

http://momjian.post­gresql.org/cgi-bin/p­gpatches

Because of my Win32 work, I couldn't follow the 24/48 hours limit.


--
Bruce Momjian | http://candle.pha.p­a.us
pgman@candle.pha.pa­.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

-------------------­--------(end of broadcast)---------­------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgres­ql.org/docs/faqs/FAQ­.html

Add comment
Jan Wieck 10 June 2003 19:55:03 permanent link ]
 Justin Clift wrote:> Tom Lane wrote:>> Josh Berkus <josh@agliodbs.com>­ writes:>>
"wal_debug" is seldom used outside of Postgresql source development or unusual >>>system failures, and should therefore go last.>>
BTW, it occurs to me that wal_debug is one of the hacker-only variables>> that probably ought not be documented at all. I cannot imagine any use>> for it for the average DBA.>
Um, not documenting it is probably not a good move for us, however putting it at the end in a section marked "Developer Focused" or something similar would > probably have the right mix of messages. i.e. "hands off" + "not a performance tweak", etc.

No, not documenting it IS a good move. If there's a button people will
press it, if there's a switch people will turn it on and if there's a
slot people will stick in whatever they have ... believe it or not, I
have found a Xmas cookie in the floppy drive of a consultant's notebook
and a secretary once managed to get a 5.25'' floppy "into" an IBM PS/2
... er ... yes, there was some kind of venting slot somewhere ... I did
not try to explain the difference between a floppy drive and a venting
slot to her, I converted it to the "right" format and the next time she
came with a 5.25'' floppy directly to me :-)­


Jan

--
#==================­====================­====================­============#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#==================­====================­============ JanWieck@Yahoo.com #


-------------------­--------(end of broadcast)---------­------------------
TIP 6: Have you searched our list archives?

http://archives.pos­tgresql.org

Add comment


Josh Berkus 10 June 2003 20:28:38 permanent link ]
 Jan,
No, not documenting it IS a good move.

I couldn't disagree more. Undocumented options? Who are we, Microsoft?
If there's a button people will > press it, if there's a switch people will turn it on and if there's a > slot people will stick in whatever they have ... believe it or not, I > have found a Xmas cookie in the floppy drive of a consultant's notebook
<snip>

These kinds of people don't read the documentation in the first place, so
we're in no danger from them.

I can definitely see an argument that the "developer" switches should be
documented on a different page of the docs from "Run-Time Configuration".
But the idea of having GUCs that aren't documented at all, anywhere, is a
very anti-Open Source idea.

--
-Josh Berkus
Aglio Database Solutions
San Francisco


-------------------­--------(end of broadcast)---------­------------------
TIP 4: Don't 'kill -9' the postmaster

Add comment
Jan Wieck 10 June 2003 20:46:36 permanent link ]
 Okay, separate documentation might work ;-)­


Jan

Josh Berkus wrote:> Jan,>
No, not documenting it IS a good move.>
I couldn't disagree more. Undocumented options? Who are we, Microsoft? >
If there's a button people will >> press it, if there's a switch people will turn it on and if there's a >> slot people will stick in whatever they have ... believe it or not, I >> have found a Xmas cookie in the floppy drive of a consultant's notebook > <snip>>
These kinds of people don't read the documentation in the first place, so > we're in no danger from them.>
I can definitely see an argument that the "developer" switches should be > documented on a different page of the docs from "Run-Time Configuration". > But the idea of having GUCs that aren't documented at all, anywhere, is a > very anti-Open Source idea.>



--
#==================­====================­====================­============#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#==================­====================­============ JanWieck@Yahoo.com #


-------------------­--------(end of broadcast)---------­------------------
TIP 4: Don't 'kill -9' the postmaster

Add comment


Bruce Momjian 10 June 2003 22:11:36 permanent link ]
 
One issue is that these settings don't even exist in most builds unless
you add compiler flags.

-------------------­--------------------­--------------------­----------------

Josh Berkus wrote:> Jan,>
No, not documenting it IS a good move.>
I couldn't disagree more. Undocumented options? Who are we, Microsoft? >
If there's a button people will > > press it, if there's a switch people will turn it on and if there's a > > slot people will stick in whatever they have ... believe it or not, I > > have found a Xmas cookie in the floppy drive of a consultant's notebook > <snip>>
These kinds of people don't read the documentation in the first place, so > we're in no danger from them.>
I can definitely see an argument that the "developer" switches should be > documented on a different page of the docs from "Run-Time Configuration". > But the idea of having GUCs that aren't documented at all, anywhere, is a > very anti-Open Source idea.>
-- > -Josh Berkus> Aglio Database Solutions> San Francisco>
-------------------­--------(end of broadcast)---------­------------------> TIP 4: Don't 'kill -9' the postmaster>

--
Bruce Momjian | http://candle.pha.p­a.us
pgman@candle.pha.pa­.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

-------------------­--------(end of broadcast)---------­------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHer­e" to majordomo@postgresq­l.org)

Add comment
Josh Berkus 11 June 2003 00:19:59 permanent link ]
 Tom,

I'm noticing re-namining of a lot of GUCs. As far as I can tell, the
re-naming is based on logical reasons -- for example, "log_hostname" is more
accurate that "hostname_lookup" -- but was a little surprised. We'd better
warn users who are upgrading ....

--
-Josh Berkus
Aglio Database Solutions
San Francisco


-------------------­--------(end of broadcast)---------­------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresq­l.org so that your
message can get through to the mailing list cleanly

Add comment


Josh Berkus 11 June 2003 00:23:23 permanent link ]
 Tom,

Also, Autocommit seems to be gone from postgresql.conf.sam­ple. Was this
intentional?

--
-Josh Berkus
Aglio Database Solutions
San Francisco


-------------------­--------(end of broadcast)---------­------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHer­e" to majordomo@postgresq­l.org)

Add comment
Tom Lane 11 June 2003 00:26:23 permanent link ]
 Josh Berkus <josh@agliodbs.com>­ writes:> Also, Autocommit seems to be gone from postgresql.conf.sam­ple. Was this > intentional?

Yes. It's toast ... didn't you see that flamewar a couple months ago?

regards, tom lane

-------------------­--------(end of broadcast)---------­------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHer­e" to majordomo@postgresq­l.org)

Add comment
Josh Berkus 11 June 2003 00:27:30 permanent link ]
 Tom,
Yes. It's toast ... didn't you see that flamewar a couple months ago?

Nope, missed it. There's enough traffic on this list that I ignore anything
that I'm not working on.

So are we eliminating the autocommit GUC entirely, or just from
postgresql.conf?

(I never used the setting, myself ...)

--
-Josh Berkus
Aglio Database Solutions
San Francisco


-------------------­--------(end of broadcast)---------­------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresq­l.org so that your
message can get through to the mailing list cleanly

Add comment
Tom Lane 11 June 2003 00:38:13 permanent link ]
 Josh Berkus <josh@agliodbs.com>­ writes:> So are we eliminating the autocommit GUC entirely, or just from > postgresql.conf?

Entirely --- putting it on the server side was a bad mistake, in
hindsight. The functionality is better provided on the client side.

(The GUC var does still physically exist, but that's only so that
commands like "SET AUTOCOMMIT TO ON" will be accepted from 7.3-vintage
clients. If you try "SET AUTOCOMMIT TO OFF" you'll get an error.
I'm unsure whether this needs to be in the documentation at all,
but it definitely doesn't need to be in postgresql.conf.sam­ple.)

regards, tom lane

-------------------­--------(end of broadcast)---------­------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHer­e" to majordomo@postgresq­l.org)

Add comment
Rod Taylor 11 June 2003 00:39:48 permanent link ]
 
So are we eliminating the autocommit GUC entirely, or just from > postgresql.conf?

It's a client side feature now. Completely gone from the server.

--
Rod Taylor <rbt@rbt.ca>

PGP Key: http://www.rbt.ca/r­btpub.asc
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или законы РФ. Ваш ip-адрес записывается.


QAIX > PostgreSQL database development > Proposal to Re-Order Postgresql.Conf, part II 11 June 2003 00:39:48

see also:
Closing an opened Excel spreadsheet…
Command Line Access
Securing database with separate…
pass tests:
Tvoia anime vneshnost'.(Dlia devochek)
see also:

  Copyright © 2001—2010 QAIX
Идея: Монашёв Михаил.
Авторами текстов, изображений и видео, размещённых на этой странице, являются пользователи сайта.
See Help and FAQ in the community support.qaix.com.
Write in the community about the bugs you have noticedbugs.qaix.com.
Write your offers and comments in the communities suggest.qaix.com.
Information for parents.
Пишите нам на .
If you would like to report an abuse of our service, such as a spam message, please .
Если Вы хотите пожаловаться на содержимое этой страницы, пожалуйста .