There is nothing in the Rules of Golf prohibiting drinking, so you would not get disqualified unless the committee considered your drinking to be a serious breach of etiquette which would allow disqualification under Rule 33-7.reading more