Unix Technical Forum

python - ctl: Comment subsequent non-spaces after value.

This is a discussion on python - ctl: Comment subsequent non-spaces after value. within the pgsql Committers forums, part of the PostgreSQL category; --> Log Message: ----------- Comment subsequent non-spaces after value. In cases where trailing non-space data exists, config would introduce a ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 06:19 PM
James William Pye
 
Posts: n/a
Default python - ctl: Comment subsequent non-spaces after value.

Log Message:
-----------
Comment subsequent non-spaces after value.

In cases where trailing non-space data exists, config would introduce a syntax
error:

# foo = bar something that should likely be commented

When 'foo' is set to another value or simply uncommented, it would introduce a
syntax error:

foo = bar something that should likely be commented

So, comment post value non-space to produce something that won't cause an error:

foo = bar #something that should likely be commented

While config does it's best to touch as little as possible, if it does need to
change something, it is important to make sure that it doesn't render an
erroneous configuration file.

Modified Files:
--------------
ctl/src:
config.py (r1.1.1.1 -> r1.2)
(http://cvs.pgfoundry.org/cgi-bin/cvs...1.1.1.1&r2=1.2)
ctl/test:
config.py (r1.1.1.1 -> r1.2)
(http://cvs.pgfoundry.org/cgi-bin/cvs...1.1.1.1&r2=1.2)

---------------------------(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 09:57 PM.


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