Any other character following a backslash is taken literally. Thus, to include a backslash character, write two backslashes (\\). Also, a single quote can be included in an escape string by writing \', in addition to the normal way of ''.
[/quote]
The link you provided goes to the wrong subsection. The following subsection, which discusses, String Constants With C-Style Escapes, requires that you write the literal as E'abc\'def'
Note the E prefix on the literal, which is the thing that enables considering backslash as an escape.