Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TGZ8e-0004H4-Pg for pgsql-docs@postgresql.org; Tue, 25 Sep 2012 17:41:40 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TGZ8d-0002Cr-LG for pgsql-docs@postgresql.org; Tue, 25 Sep 2012 17:41:40 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id q8PHfbEv023965; Tue, 25 Sep 2012 13:41:37 -0400 (EDT) From: Tom Lane To: =?iso-8859-2?Q?Hidv=E9gi_G=E1bor?= cc: "Denis Lapshin" , pgsql-docs@postgresql.org Subject: Re: Wrong startup script of PostgreSQL 9.1.2 under OpenBSD 5.1 In-reply-to: <6360AD6B0B8C4EC2AACED9F2758A6199@gab> References: <22923.1348592565@sss.pgh.pa.us> <6360AD6B0B8C4EC2AACED9F2758A6199@gab> Comments: In-reply-to =?iso-8859-2?Q?Hidv=E9gi_G=E1bor?= message dated "Tue, 25 Sep 2012 19:07:34 +0200" Date: Tue, 25 Sep 2012 13:41:37 -0400 Message-ID: <23964.1348594897@sss.pgh.pa.us> X-Pg-Spam-Score: -2.7 (--) X-Archive-Number: 201209/25 X-Sequence-Number: 7477 =?iso-8859-2?Q?Hidv=E9gi_G=E1bor?= writes: > I have already posted this problem several months ago, there was no change > in the documentation since then. It's not about the installation directory > or username, under the new OpenBSD's the parameter ordering of 'su' differs > from the older versions, the right order is like Denis writes. BTW, a little further googling turns up the information that this isn't OpenBSD-specific; there are a number of platforms where "su -c" doesn't act like it does on Linux. But "su username -c 'command'" works the same everywhere. I'll adjust the generic text as well as the OpenBSD paragraph in light of this. regards, tom lane