From: Michael P. <mic...@gm...> - 2014-02-05 01:56:18
|
On Wed, Feb 5, 2014 at 7:56 AM, David E. Wheeler <da...@ju...> wrote: > PGXC Hackers, > > What is the simplest way to tell if the server one has connected to is XC? Try to call pgxc_version()? `SHOW gtm_host`? Or is there something else to check, maybe something that doesn't throw an exception? How do you actually do for PG itself? Do you use PG_VERSION_NUM or similar? -- Michael |