fn_work_shift


Description

คืน work shift ปัจจุบันของ user จาก authen.user_property.work_shift (ผ่าน dblink). Memoize ผลลัพธ์ระดับ transaction ผ่าน GUC cache.work_shift (is_local) และคืน NULL พร้อม WARNING เมื่อต่อ authen ไม่ได้ แทนการโยน exception

Parameters

Name Type Mode
user_name text IN (DEFAULT NULL)

Definition