dblink_get_connections() result for no connections

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joe Conway <mail(at)joeconway(dot)com>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: dblink_get_connections() result for no connections
Date: 2014-11-25 20:49:01
Message-ID: 17592.1416948541@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

While fooling around with the array_agg(anyarray) patch, I noted
that dblink_get_connections() returns NULL if there are no active
connections. It seems like an empty array might be a saner
definition --- thoughts?

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2014-11-25 21:06:14 Re: no test programs in contrib
Previous Message Simon Riggs 2014-11-25 20:15:20 Re: Add shutdown_at_recovery_target option to recovery.conf