{"code":"CCP","codeName":"Code of Civil Procedure","section":"1989","citation":"Code Civ. Proc., § 1989","status":"in-force","lawOn":"2026-09-28","headings":[{"name":"PART 4. MISCELLANEOUS PROVISIONS [1855. - 2107.]","url":"https://blackletter.si/code-of-civil-procedure/part-4"},{"name":"TITLE 3. OF THE PRODUCTION OF EVIDENCE [1985. - 2015.6.]","url":"https://blackletter.si/code-of-civil-procedure/part-4/title-3"},{"name":"CHAPTER 2. Means of Production [1985. - 1997.]","url":"https://blackletter.si/code-of-civil-procedure/part-4/title-3/chapter-2"}],"history":"Amended by Stats. 1981, Ch. 184, Sec. 3.","effective":null,"html":"<p>A witness, including a witness specified in subdivision (b) of Section <a href=\"/ccp/1987\">1987</a>, is not obliged to attend as a witness before any court, judge, justice or any other officer, unless the witness is a resident within the state at the time of service.</p>","text":"A witness, including a witness specified in subdivision (b) of Section 1987, is not obliged to attend as a witness before any court, judge, justice or any other officer, unless the witness is a resident within the state at the time of service.","otherVersions":[],"url":"https://blackletter.si/code-of-civil-procedure/means-of-production-1989","source":"California Legislative Information bulk export (pubinfo)"}