The Tuesday 27 April 2010 10:19:50, Martin Pitt wrote : > Hello Marc, > > Marc Cousin [2010-04-27 12:07 +0200]: > > If using an include directive in postgresql.conf, pg_ctlcluster > > fails with 'Invalid line' error, in read_conf_file. This function > > should recurse into the include directives, as PostgreSQL does. > > read_conf_file() actually does support the include directive, and > there's even a check in the test suite for that. Can you please attach > your postgresql.conf (or at least give me the precise include > statement) as well as the "ls -l" output of the included files? > (Perhaps there's something wrong with relative path resolution) > > Thanks, > > Martin
Hi, I don't get it then, I don't see anything in the function for this case. So here's how I reproduce it : /etc/postgresql/8.3/main# cat postgresql.conf Several 'normal' lines ....... ------------------------------------------------------------------------------ # CUSTOMIZED OPTIONS #------------------------------------------------------------------------------ #custom_variable_classes = '' # list of custom variable class names include 'test_include.conf' /etc/postgresql/8.3/main# cat test_include.conf lc_monetary = 'C' I get this : debian:/etc/postgresql/8.3/main# pg_ctlcluster 8.3 main start Error: Invalid line 495 in /etc/postgresql/8.3/main/postgresql.conf: »include 'test_include.conf' « The postgresql-client-common is 94lenny1 by the way. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

