diaspora/diaspora — Issue #2333: PostgreSQL + Resque: federation doesn't work
Author: rekado
Created: 2011-11-06 16:01:16+00:00
State: open

When running resque with postgreSQL all jobs fail. Many of these jobs have this error message:

ActiveRecord::StatementInvalid

Error
PGError: SSL SYSCALL error: EOF detected : SELECT a.attname,
format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull FROM
pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND
a.attnum = d.adnum WHERE a.attrelid = '"users"'::regclass AND
a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum`

The log says `PGError: SSL SYSCALL error: EOF detected` whenever the attempt is made to receive a post.

The result is that all communication with other pods ceases.
Everything is fine in single process mode, though.