亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? copy.sgml

?? postgresql8.3.4源碼,開源數據庫
?? SGML
?? 第 1 頁 / 共 2 頁
字號:
    The specified null string is sent by <command>COPY TO</command> without    adding any backslashes; conversely, <command>COPY FROM</command> matches    the input against the null string before removing backslashes.  Therefore,    a null string such as <literal>\N</literal> cannot be confused with    the actual data value <literal>\N</literal> (which would be represented    as <literal>\\N</literal>).   </para>   <para>    The following special backslash sequences are recognized by    <command>COPY FROM</command>:   <informaltable>    <tgroup cols="2">     <thead>      <row>       <entry>Sequence</entry>       <entry>Represents</entry>      </row>     </thead>     <tbody>      <row>       <entry><literal>\b</></entry>       <entry>Backspace (ASCII 8)</entry>      </row>      <row>       <entry><literal>\f</></entry>       <entry>Form feed (ASCII 12)</entry>      </row>      <row>       <entry><literal>\n</></entry>       <entry>Newline (ASCII 10)</entry>      </row>      <row>       <entry><literal>\r</></entry>       <entry>Carriage return (ASCII 13)</entry>      </row>      <row>       <entry><literal>\t</></entry>       <entry>Tab (ASCII 9)</entry>      </row>      <row>       <entry><literal>\v</></entry>       <entry>Vertical tab (ASCII 11)</entry>      </row>      <row>       <entry><literal>\</><replaceable>digits</></entry>       <entry>Backslash followed by one to three octal digits specifies       the character with that numeric code</entry>      </row>      <row>       <entry><literal>\x</><replaceable>digits</></entry>       <entry>Backslash <literal>x</> followed by one or two hex digits specifies       the character with that numeric code</entry>      </row>     </tbody>    </tgroup>   </informaltable>    Presently, <command>COPY TO</command> will never emit an octal or     hex-digits backslash sequence, but it does use the other sequences    listed above for those control characters.   </para>   <para>    Any other backslashed character that is not mentioned in the above table    will be taken to represent itself.  However, beware of adding backslashes    unnecessarily, since that might accidentally produce a string matching the    end-of-data marker (<literal>\.</>) or the null string (<literal>\N</> by    default).  These strings will be recognized before any other backslash    processing is done.   </para>   <para>    It is strongly recommended that applications generating <command>COPY</command> data convert    data newlines and carriage returns to the <literal>\n</> and    <literal>\r</> sequences respectively.  At present it is    possible to represent a data carriage return by a backslash and carriage    return, and to represent a data newline by a backslash and newline.      However, these representations might not be accepted in future releases.    They are also highly vulnerable to corruption if the <command>COPY</command> file is    transferred across different machines (for example, from Unix to Windows    or vice versa).   </para>   <para>    <command>COPY TO</command> will terminate each row with a Unix-style     newline (<quote><literal>\n</></>).  Servers running on Microsoft Windows instead    output carriage return/newline (<quote><literal>\r\n</></>), but only for    <command>COPY</> to a server file; for consistency across platforms,    <command>COPY TO STDOUT</> always sends <quote><literal>\n</></>    regardless of server platform.    <command>COPY FROM</command> can handle lines ending with newlines,    carriage returns, or carriage return/newlines.  To reduce the risk of    error due to un-backslashed newlines or carriage returns that were    meant as data, <command>COPY FROM</command> will complain if the line    endings in the input are not all alike.   </para>  </refsect2>  <refsect2>   <title>CSV Format</title>   <para>    This format is used for importing and exporting the Comma    Separated Value (<literal>CSV</>) file format used by many other    programs, such as spreadsheets. Instead of the escaping used by    <productname>PostgreSQL</productname>'s standard text mode, it    produces and recognizes the common CSV escaping mechanism.   </para>   <para>    The values in each record are separated by the <literal>DELIMITER</>    character. If the value contains the delimiter character, the    <literal>QUOTE</> character, the <literal>NULL</> string, a carriage    return, or line feed character, then the whole value is prefixed and    suffixed by the <literal>QUOTE</> character, and any occurrence    within the value of a <literal>QUOTE</> character or the    <literal>ESCAPE</> character is preceded by the escape character.    You can also use <literal>FORCE QUOTE</> to force quotes when outputting    non-<literal>NULL</> values in specific columns.   </para>   <para>     The <literal>CSV</> format has no standard way to distinguish a    <literal>NULL</> value from an empty string.    <productname>PostgreSQL</>'s <command>COPY</> handles this by    quoting. A <literal>NULL</> is output as the <literal>NULL</>    string and is not quoted, while a data value matching the    <literal>NULL</> string is quoted. Therefore, using the default    settings, a <literal>NULL</> is written as an unquoted empty    string, while an empty string is written with double quotes    (<literal>""</>). Reading values follows similar rules. You can    use <literal>FORCE NOT NULL</> to prevent <literal>NULL</> input    comparisons for specific columns.   </para>   <para>     Because backslash is not a special character in the <literal>CSV</>    format, <literal>\.</>, the end-of-data marker, could also appear    as a data value.  To avoid any misinterpretation, a <literal>\.</>    data value appearing as a lone entry on a line is automatically     quoted on output, and on input, if quoted, is not interpreted as the     end-of-data marker.  If you are loading a file created by another    application that has a single unquoted column and might have a     value of <literal>\.</>, you might need to quote that value in the     input file.   </para>   <note>    <para>     In <literal>CSV</> mode, all characters are significant. A quoted value      surrounded by white space, or any characters other than      <literal>DELIMITER</>, will include those characters. This can cause      errors if  you import data from a system that pads <literal>CSV</>      lines with white space out to some fixed width. If such a situation      arises you might need to preprocess the <literal>CSV</> file to remove      the trailing white space, before importing the data into      <productname>PostgreSQL</>.     </para>   </note>   <note>    <para>     CSV mode will both recognize and produce CSV files with quoted     values containing embedded carriage returns and line feeds. Thus     the files are not strictly one line per table row like text-mode     files.    </para>   </note>   <note>    <para>     Many programs produce strange and occasionally perverse CSV files,     so the file format is more a convention than a standard. Thus you     might encounter some files that cannot be imported using this     mechanism, and <command>COPY</> might produce files that other     programs cannot process.    </para>   </note>      </refsect2>  <refsect2>   <title>Binary Format</title>   <para>    The file format used for <command>COPY BINARY</command> changed in    <productname>PostgreSQL</productname> 7.4. The new format consists    of a file header, zero or more tuples containing the row data, and    a file trailer. Headers and data are now in network byte order.   </para>   <refsect3>    <title>File Header</title>    <para>     The file header consists of 15 bytes of fixed fields, followed     by a variable-length header extension area.  The fixed fields are:    <variablelist>     <varlistentry>      <term>Signature</term>      <listitem>       <para>11-byte sequence <literal>PGCOPY\n\377\r\n\0</> &mdash; note that the zero byteis a required part of the signature.  (The signature is designed to alloweasy identification of files that have been munged by a non-8-bit-cleantransfer.  This signature will be changed by end-of-line-translationfilters, dropped zero bytes, dropped high bits, or parity changes.)       </para>      </listitem>     </varlistentry>     <varlistentry>      <term>Flags field</term>      <listitem>       <para>32-bit integer bit mask to denote important aspects of the file format. Bitsare numbered from 0 (<acronym>LSB</>) to 31 (<acronym>MSB</>).  Note thatthis field is stored in network byte order (most significant byte first),as are all the integer fields used in the file format.  Bits16-31 are reserved to denote critical file format issues; a readershould abort if it finds an unexpected bit set in this range. Bits 0-15are reserved to signal backwards-compatible format issues; a readershould simply ignore any unexpected bits set in this range. Currentlyonly one flag bit is defined, and the rest must be zero:        <variablelist>         <varlistentry>          <term>Bit 16</term>          <listitem>           <para>            if 1, OIDs are included in the data; if 0, not           </para>          </listitem>         </varlistentry>        </variablelist>       </para>      </listitem>     </varlistentry>     <varlistentry>      <term>Header extension area length</term>      <listitem>       <para>32-bit integer, length in bytes of remainder of header, not including self.Currently, this is zero, and the first tuple followsimmediately.  Future changes to the format might allow additional datato be present in the header.  A reader should silently skip over any headerextension data it does not know what to do with.       </para>      </listitem>     </varlistentry>    </variablelist>    </para>    <para>The header extension area is envisioned to contain a sequence ofself-identifying chunks.  The flags field is not intended to tell readerswhat is in the extension area.  Specific design of header extension contentsis left for a later release.    </para>    <para>     This design allows for both backwards-compatible header additions (add     header extension chunks, or set low-order flag bits) and     non-backwards-compatible changes (set high-order flag bits to signal such     changes, and add supporting data to the extension area if needed).    </para>   </refsect3>   <refsect3>    <title>Tuples</title>    <para>Each tuple begins with a 16-bit integer count of the number of fields in thetuple.  (Presently, all tuples in a table will have the same count, but thatmight not always be true.)  Then, repeated for each field in the tuple, thereis a 32-bit length word followed by that many bytes of field data.  (Thelength word does not include itself, and can be zero.)  As a special case,-1 indicates a NULL field value.  No value bytes follow in the NULL case.    </para>    <para>There is no alignment padding or any other extra data between fields.    </para>    <para>Presently, all data values in a <command>COPY BINARY</command> file areassumed to be in binary format (format code one).  It is anticipated that afuture extension might add a header field that allows per-column format codesto be specified.    </para>    <para>To determine the appropriate binary format for the actual tuple data youshould consult the <productname>PostgreSQL</productname> source, inparticular the <function>*send</> and <function>*recv</> functions foreach column's data type (typically these functions are found in the<filename>src/backend/utils/adt/</filename> directory of the sourcedistribution).    </para>    <para>If OIDs are included in the file, the OID field immediately follows thefield-count word.  It is a normal field except that it's not includedin the field-count.  In particular it has a length word &mdash; this will allowhandling of 4-byte vs. 8-byte OIDs without too much pain, and will allowOIDs to be shown as null if that ever proves desirable.    </para>   </refsect3>   <refsect3>    <title>File Trailer</title>    <para>     The file trailer consists of a 16-bit integer word containing -1.  This     is easily distinguished from a tuple's field-count word.    </para>    <para>     A reader should report an error if a field-count word is neither -1     nor the expected number of columns.  This provides an extra     check against somehow getting out of sync with the data.    </para>   </refsect3>  </refsect2> </refsect1>  <refsect1>  <title>Examples</title>  <para>   The following example copies a table to the client   using the vertical bar (<literal>|</literal>) as the field delimiter:<programlisting>COPY country TO STDOUT WITH DELIMITER '|';</programlisting>  </para>  <para>   To copy data from a file into the <literal>country</> table:<programlisting>COPY country FROM '/usr1/proj/bray/sql/country_data';</programlisting>  </para>  <para>   To copy into a file just the countries whose names start with 'A':<programlisting>COPY (SELECT * FROM country WHERE country_name LIKE 'A%') TO '/usr1/proj/bray/sql/a_list_countries.copy';</programlisting>  </para>  <para>   Here is a sample of data suitable for copying into a table from   <literal>STDIN</literal>:<programlisting>AF      AFGHANISTANAL      ALBANIADZ      ALGERIAZM      ZAMBIAZW      ZIMBABWE</programlisting>   Note that the white space on each line is actually a tab character.  </para>  <para>   The following is the same data, output in binary format.   The data is shown after filtering through the   Unix utility <command>od -c</command>. The table has three columns;   the first has type <type>char(2)</type>, the second has type <type>text</type>,   and the third has type <type>integer</type>. All the rows have a null value   in the third column.<programlisting>0000000   P   G   C   O   P   Y  \n 377  \r  \n  \0  \0  \0  \0  \0  \00000020  \0  \0  \0  \0 003  \0  \0  \0 002   A   F  \0  \0  \0 013   A0000040   F   G   H   A   N   I   S   T   A   N 377 377 377 377  \0 0030000060  \0  \0  \0 002   A   L  \0  \0  \0 007   A   L   B   A   N   I0000100   A 377 377 377 377  \0 003  \0  \0  \0 002   D   Z  \0  \0  \00000120 007   A   L   G   E   R   I   A 377 377 377 377  \0 003  \0  \00000140  \0 002   Z   M  \0  \0  \0 006   Z   A   M   B   I   A 377 3770000160 377 377  \0 003  \0  \0  \0 002   Z   W  \0  \0  \0  \b   Z   I0000200   M   B   A   B   W   E 377 377 377 377 377 377</programlisting>  </para> </refsect1>  <refsect1>  <title>Compatibility</title>    <para>   There is no <command>COPY</command> statement in the SQL standard.  </para>  <para>   The following syntax was used before <productname>PostgreSQL</>   version 7.3 and is still supported:<synopsis>COPY [ BINARY ] <replaceable class="parameter">tablename</replaceable> [ WITH OIDS ]    FROM { '<replaceable class="parameter">filename</replaceable>' | STDIN }    [ [USING] DELIMITERS '<replaceable class="parameter">delimiter</replaceable>' ]    [ WITH NULL AS '<replaceable class="parameter">null string</replaceable>' ]COPY [ BINARY ] <replaceable class="parameter">tablename</replaceable> [ WITH OIDS ]    TO { '<replaceable class="parameter">filename</replaceable>' | STDOUT }    [ [USING] DELIMITERS '<replaceable class="parameter">delimiter</replaceable>' ]    [ WITH NULL AS '<replaceable class="parameter">null string</replaceable>' ]</synopsis>  </para> </refsect1></refentry>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美精品一区二区三| 久久国内精品自在自线400部| 国产成人欧美日韩在线电影| 精品噜噜噜噜久久久久久久久试看| 久久精品国产精品亚洲红杏| 欧美成人精品福利| 国产成人av福利| 综合久久综合久久| 欧美性受极品xxxx喷水| 日韩成人av影视| 久久午夜国产精品| 91在线观看污| 婷婷综合五月天| 亚洲精品在线观看网站| 9i在线看片成人免费| 亚洲最大成人网4388xx| 日韩欧美一级二级三级| 成人av在线观| 男人的j进女人的j一区| 欧美国产一区在线| 欧美日韩国产bt| 国产精品正在播放| 亚洲综合免费观看高清完整版 | av网站一区二区三区| 有坂深雪av一区二区精品| 自拍偷拍亚洲激情| 制服丝袜日韩国产| 成人激情小说乱人伦| 亚洲大片免费看| 国产视频在线观看一区二区三区| 在线亚洲精品福利网址导航| 美国精品在线观看| 亚洲人被黑人高潮完整版| 欧美一区二区三区视频免费播放| 成人教育av在线| 免费精品视频最新在线| 一区二区三区免费在线观看| 久久久久久久久久看片| 欧美日韩亚洲综合在线| 成熟亚洲日本毛茸茸凸凹| 亚洲成在人线在线播放| 中文字幕免费在线观看视频一区| 欧美日韩国产精品自在自线| jlzzjlzz亚洲女人18| 久久成人精品无人区| 一区二区三区精品视频在线| 国产精品网站导航| 欧美大肚乱孕交hd孕妇| 欧美午夜电影网| 9久草视频在线视频精品| 国产尤物一区二区在线| 亚洲成在人线在线播放| 亚洲伦理在线免费看| 亚洲国产高清不卡| 欧美精品一区二区三区蜜桃视频| 欧美日韩国产bt| 欧美亚洲图片小说| 91麻豆精品在线观看| 国产99久久久国产精品潘金网站| 免费观看在线色综合| 日韩中文字幕1| 亚洲国产cao| 一级做a爱片久久| 成人免费三级在线| 国产在线精品一区二区不卡了 | 色婷婷av久久久久久久| 播五月开心婷婷综合| 国产精品香蕉一区二区三区| 久久精品国产亚洲5555| 奇米亚洲午夜久久精品| 日韩福利视频导航| 无码av免费一区二区三区试看| 亚洲精品伦理在线| 一区二区理论电影在线观看| 成人免费视频在线观看| 日韩理论在线观看| 亚洲精品乱码久久久久久黑人 | 欧美videofree性高清杂交| 7777精品伊人久久久大香线蕉完整版 | 精品国产伦一区二区三区观看方式| 91精品国产福利在线观看| 538在线一区二区精品国产| 91麻豆精品国产91久久久久久久久 | 同产精品九九九| 日韩高清国产一区在线| 麻豆精品视频在线观看免费| 免费在线观看不卡| 国产在线观看免费一区| 亚洲精品一区在线观看| 久久嫩草精品久久久久| 国产欧美一区二区三区鸳鸯浴| 国产日韩欧美在线一区| 国产精品久久久久久户外露出| 综合久久给合久久狠狠狠97色| 亚洲女厕所小便bbb| 亚洲成人资源网| 久久电影网电视剧免费观看| 国产精品99久久久久久似苏梦涵| 成人午夜激情视频| 91久久精品一区二区三区| 在线不卡a资源高清| 久久人人97超碰com| 国产精品国产三级国产aⅴ原创| 亚洲精品自拍动漫在线| 日韩电影在线免费看| 国产精品一区二区在线播放| 色综合一个色综合亚洲| 这里只有精品99re| 国产三级久久久| 亚洲午夜久久久久久久久电影院| 免费视频最近日韩| 99热这里都是精品| 日韩一级片在线观看| 中文字幕av一区二区三区| 亚洲永久精品大片| 国产麻豆精品一区二区| 欧美影视一区在线| 久久网这里都是精品| 夜夜夜精品看看| 国产精品一区二区三区四区| 欧洲色大大久久| 久久精品一区二区三区不卡牛牛| 亚洲综合小说图片| 国产精品一区二区久激情瑜伽 | 欧美一区二区在线免费播放| 国产欧美精品国产国产专区| 亚洲h精品动漫在线观看| 日韩午夜在线影院| 亚洲自拍都市欧美小说| 国产精品自在在线| 4438x亚洲最大成人网| 亚洲欧洲日本在线| 国产乱码一区二区三区| 欧美日韩在线播放三区四区| 国产精品视频九色porn| 久久精品免费观看| 欧美日韩精品欧美日韩精品| 中文字幕亚洲一区二区va在线| 免费人成网站在线观看欧美高清| 97久久超碰国产精品电影| 2024国产精品| 免费一级欧美片在线观看| 欧美视频在线一区| 亚洲人亚洲人成电影网站色| 国产一区二区三区黄视频| 日韩一区二区三区电影在线观看| 亚洲精品成a人| 成人高清免费观看| 久久精品欧美一区二区三区不卡 | 蜜桃视频在线一区| 欧美精品高清视频| 亚洲伊人色欲综合网| 91在线视频网址| 亚洲欧洲另类国产综合| 国产69精品久久久久毛片| 久久综合av免费| 久久99国产精品久久| 欧美一区永久视频免费观看| 亚洲韩国一区二区三区| 91免费观看国产| 亚洲色图另类专区| 91看片淫黄大片一级在线观看| 欧美韩国日本综合| 丁香婷婷综合色啪| 国产精品乱人伦一区二区| 成人做爰69片免费看网站| 国产精品久久久久久一区二区三区| 国产suv精品一区二区883| 国产精品三级av| 91视视频在线直接观看在线看网页在线看| 国产精品欧美极品| 99久久精品国产麻豆演员表| 亚洲日韩欧美一区二区在线| 91视频你懂的| 亚洲电影中文字幕在线观看| 欧美日韩在线精品一区二区三区激情| 亚洲一区二区三区三| 欧美日韩电影在线播放| 日本欧美韩国一区三区| 日韩一区二区中文字幕| 国产综合色视频| 国产女主播一区| 91啪亚洲精品| 亚欧色一区w666天堂| 欧美丰满少妇xxxbbb| 麻豆国产一区二区| 日本一区二区成人| 欧美在线一二三| 久久成人羞羞网站| 国产精品视频观看| 欧美日韩精品一区二区三区蜜桃| 美女精品自拍一二三四| 国产亚洲成年网址在线观看| 色婷婷av一区二区三区大白胸| 五月天激情综合| 国产精品系列在线| 欧美日韩免费高清一区色橹橹| 久久精品久久综合| 亚洲欧洲日产国产综合网| 欧美肥妇free|