Guillaume Lelarge <guilla...@lelarge.info> writes: > */ > do > { > + const char *values[] = { > + my_opts->hostname, > + my_opts->port, > + my_opts->dbname, > + my_opts->username, > + password, > + "oid2name", > + NULL > + }; > + > new_pass = false;
Is that really legal C89 syntax? I seem to recall that array constructors can only be used for static assignments with older compilers. Also, as a matter of style, I find it pretty horrid that this isn't immediately adjacent to the keywords array that it MUST match. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers