Re: [HACKERS] Subject: problem with using O_DIRECT

2006-10-12 Thread Jim C. Nasby
On Thu, Oct 12, 2006 at 12:19:07AM -0400, Ye Qin wrote:
> I tried to use O_DIRECT on Linux (SuSe) Kernel 2.6, but failed to make it 
> run.
> For example, if I added the option in the "open" of BasicOpenFile(),
> I got the following error after typing "psql -l",
> 
> psql: could not connect to server: Connection refused
>   Is the server running locally and accepting
>   connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

That only shows that the server's not running, which doesn't tell us
much. Are there errors in the server log? Did it dump core?
-- 
Jim Nasby[EMAIL PROTECTED]
EnterpriseDB  http://enterprisedb.com  512.569.9461 (cell)

---(end of broadcast)---
TIP 6: explain analyze is your friend


[HACKERS] Subject: problem with using O_DIRECT

2006-10-11 Thread Ye Qin

I tried to use O_DIRECT on Linux (SuSe) Kernel 2.6, but failed to make it run.
For example, if I added the option in the "open" of BasicOpenFile(),
I got the following error after typing "psql -l",

psql: could not connect to server: Connection refused
  Is the server running locally and accepting
  connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

Any advice?

Thanks,

Brian

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

  http://www.postgresql.org/docs/faq