"Daniel J. Summers" <daniel.summers.2415@gmail.com> writes:
> On Mon, Jan 10, 2011 at 10:55 PM, somnathzankar <zankarsomnath@gmail.com> wrote:
>>
>> $ sudo su - postgres
>> No directory, logging in with HOME=/
>>
>> so when I'm trying to install postgresql then above warning got to me and it
>> install.
>> but when I'm trying to login by postgres user then above error it shows.
> This just means that the directory /home/postgres wasn't created
> during installation.
I wonder whether Ubuntu uses a separate postgresql-server subpackage for
the server-side stuff. If so, that directory would likely belong to the
server package not the core (client-side) package.
regards, tom lane