Man pulls gun on Tyler police