I suspect that the order of columns returned from that type of query is unspecified.
"Unspecified" sounds a bit like it might change when the database table hasn't changed, and that would surprise me if it were the case. It seems different from vendor to vendor, but at least according to this page on the Postgres Wiki, "Postgres currently defines column order based on the attnum column of the pg_attribute table."
In reply to Re^4: What defines the output format of a Postgres Timestamp
by haukex
in thread What defines the output format of a Postgres Timestamp
by Skeeve
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |