"Greg Sabino Mullane" <[EMAIL PROTECTED]> writes:
> Would something like this be acceptable?:
> (int) PQversionNumber
> as a simple interface to the sversion variable?

I think "version" is a little too nonspecific.  We already have

extern int      PQprotocolVersion(const PGconn *conn);

so consistency would suggest

extern int      PQserverVersion(const PGconn *conn);

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to [EMAIL PROTECTED] so that your
      message can get through to the mailing list cleanly

Reply via email to