/* Creates the list of fields names and pushes it on top of the stack.  */
static void create_colnames(lua_State *L, cur_data *cur)
/* Creates the list of fields names and pushes it on top of the stack.  */
static void create_colnames(lua_State *L, cur_data *cur)
{
		lua_pushstring (L, PQfname (result, i-1));
		lua_rawseti (L, -2, i);
	}
}