doc.patch
application/octet-stream
Filename: doc.patch
Type: application/octet-stream
Part: 2
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: context
| File | + | − |
|---|---|---|
| doc/src/sgml/libpq++.sgml | 5 | 5 |
*** org/postgresql-6.5.3/doc/src/sgml/libpq++.sgml Tue Jul 6 19:19:41 1999
--- postgresql-6.5.3/doc/src/sgml/libpq++.sgml Wed Apr 19 09:28:45 2000
***************
*** 738,750 ****
<programlisting>
PgDatabase data;
! data.Exec("create table foo (a int4, b char16, d float8)");
data.Exec("copy foo from stdin");
! data.putline("3\etHello World\et4.5\en");
! data.putline("4\etGoodbye World\et7.11\en");
&...
! data.putline(".\en");
! data.endcopy();
</programlisting>
</para>
</sect1>
--- 738,750 ----
<programlisting>
PgDatabase data;
! data.Exec("create table foo (a int4, b char(16), d float8)");
data.Exec("copy foo from stdin");
! data.PutLine("3\tHello World\t4.5\n");
! data.PutLine("4\tGoodbye World\t7.11\n");
&...
! data.PutLine("\\.\n");
! data.EndCopy();
</programlisting>
</para>
</sect1>