File: 8-string-escape.sql

package info (click to toggle)
pgcopydb 0.17-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 30,636 kB
  • sloc: ansic: 217,474; sql: 1,654; sh: 812; makefile: 365; python: 94
file content (10 lines) | stat: -rw-r--r-- 223 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
create table test_str_escape
 (
   id bigint not null generated always as identity primary key,
   f1 text
 );

insert into test_str_escape (f1)
     values (E'aaa\naaa'),
            (E'bbb\r\nbbb'),
            (E'ccc');