I recently switched to Postgres and get intermittent form errors:
PGError: FATAL: terminating connection due to administrator command
SSL connection has been closed unexpectedly:
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 = '"xxxxxx"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
vendor/bundle/ruby/1.9.1/gems/activerecord-3.0.11/lib/active_record/
connection_adapters/postgresql_adapter.rb:505:in `exec'
What can I do to get around this (besides returning to the old Addgres Addon, which is a workaround, I suppose).
source
share