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

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

?? copy.sgml

?? PostgreSQL7.4.6 for Linux
?? SGML
?? 第 1 頁 / 共 2 頁
字號:
<!--$Header: /cvsroot/pgsql/doc/src/sgml/ref/copy.sgml,v 1.53 2003/10/06 02:38:53 tgl Exp $PostgreSQL documentation--><refentry id="SQL-COPY"> <refmeta>  <refentrytitle id="sql-copy-title">COPY</refentrytitle>  <refmiscinfo>SQL - Language Statements</refmiscinfo> </refmeta> <refnamediv>  <refname>COPY</refname>  <refpurpose>copy data between a file and a table</refpurpose> </refnamediv> <indexterm zone="sql-copy">  <primary>COPY</primary> </indexterm> <refsynopsisdiv><synopsis>COPY <replaceable class="parameter">tablename</replaceable> [ ( <replaceable class="parameter">column</replaceable> [, ...] ) ]    FROM { '<replaceable class="parameter">filename</replaceable>' | STDIN }    [ [ WITH ]           [ BINARY ]           [ OIDS ]          [ DELIMITER [ AS ] '<replaceable class="parameter">delimiter</replaceable>' ]          [ NULL [ AS ] '<replaceable class="parameter">null string</replaceable>' ] ]COPY <replaceable class="parameter">tablename</replaceable> [ ( <replaceable class="parameter">column</replaceable> [, ...] ) ]    TO { '<replaceable class="parameter">filename</replaceable>' | STDOUT }    [ [ WITH ]           [ BINARY ]          [ OIDS ]          [ DELIMITER [ AS ] '<replaceable class="parameter">delimiter</replaceable>' ]          [ NULL [ AS ] '<replaceable class="parameter">null string</replaceable>' ] ]</synopsis> </refsynopsisdiv>  <refsect1>  <title>Description</title>  <para>   <command>COPY</command> moves data between   <productname>PostgreSQL</productname> tables and standard file-system   files. <command>COPY TO</command> copies the contents of a table   <emphasis>to</> a file, while <command>COPY FROM</command> copies   data <emphasis>from</> a file to a table (appending the data to   whatever is in the table already).  </para>  <para>   If a list of columns is specified, <command>COPY</command> will   only copy the data in the specified columns to or from the file.   If there are any columns in the table that are not in the column list,   <command>COPY FROM</command> will insert the default values for   those columns.  </para>  <para>   <command>COPY</command> with a file name instructs the   <productname>PostgreSQL</productname> server to directly read from   or write to a file. The file must be accessible to the server and   the name must be specified from the viewpoint of the server. When   <literal>STDIN</literal> or <literal>STDOUT</literal> is   specified, data is transmitted via the connection between the   client and the server.  </para> </refsect1>   <refsect1>  <title>Parameters</title>  <variablelist>   <varlistentry>    <term><replaceable class="parameter">tablename</replaceable></term>    <listitem>     <para>      The name (optionally schema-qualified) of an existing table.     </para>    </listitem>   </varlistentry>   <varlistentry>    <term><replaceable class="parameter">column</replaceable></term>     <listitem>     <para>      An optional list of columns to be copied.  If no column list is      specified, all columns will be used.     </para>    </listitem>   </varlistentry>   <varlistentry>    <term><replaceable class="parameter">filename</replaceable></term>    <listitem>     <para>      The absolute path name of the input or output file.     </para>    </listitem>   </varlistentry>   <varlistentry>    <term><literal>STDIN</literal></term>    <listitem>     <para>      Specifies that input comes from the client application.     </para>    </listitem>   </varlistentry>   <varlistentry>    <term><literal>STDOUT</literal></term>    <listitem>     <para>      Specifies that output goes to the client application.     </para>    </listitem>   </varlistentry>   <varlistentry>    <term><literal>BINARY</literal></term>    <listitem>     <para>      Causes all data to be stored or read in binary format rather      than as text. You cannot specify the <option>DELIMITER</option>      or <option>NULL</option> options in binary mode.     </para>    </listitem>   </varlistentry>   <varlistentry>    <term><literal>OIDS</literal></term>    <listitem>     <para>      Specifies copying the OID for each row.  (An error is raised if      <literal>OIDS</literal> is specified for a table that does not      have OIDs.)     </para>    </listitem>   </varlistentry>   <varlistentry>    <term><replaceable class="parameter">delimiter</replaceable></term>    <listitem>     <para>      The single character that separates columns within each row      (line) of the file.  The default is a tab character.     </para>    </listitem>   </varlistentry>   <varlistentry>    <term><replaceable class="parameter">null string</replaceable></term>    <listitem>     <para>      The string that represents a null value. The default is      <literal>\N</literal> (backslash-N). You might prefer an empty      string, for example.     </para>     <note>      <para>       On a <command>COPY FROM</command>, any data item that matches       this string will be stored as a null value, so you should make       sure that you use the same string as you used with       <command>COPY TO</command>.      </para>     </note>    </listitem>   </varlistentry>  </variablelist> </refsect1> <refsect1>  <title>Notes</title>   <para>    <command>COPY</command> can only be used with plain tables, not    with views.   </para>   <para>    The <literal>BINARY</literal> key word causes all data to be    stored/read as binary format rather than as text.  It is    somewhat faster than the normal text mode, but a binary-format    file is less portable across machine architectures and    <productname>PostgreSQL</productname> versions.   </para>   <para>    You must have select privilege on the table    whose values are read by <command>COPY TO</command>, and    insert privilege on the table into which values    are inserted by <command>COPY FROM</command>.   </para>   <para>    Files named in a <command>COPY</command> command are read or written    directly by the server, not by the client application. Therefore,    they must reside on or be accessible to the database server machine,    not the client. They must be accessible to and readable or writable    by the <productname>PostgreSQL</productname> user (the user ID the    server runs as), not the client. <command>COPY</command> naming a    file is only allowed to database superusers, since it allows reading    or writing any file that the server has privileges to access.   </para>   <para>    Do not confuse <command>COPY</command> with the    <application>psql</application> instruction    <command>\copy</command>. <command>\copy</command> invokes    <command>COPY FROM STDIN</command> or <command>COPY TO    STDOUT</command>, and then fetches/stores the data in a file    accessible to the <application>psql</application> client. Thus,    file accessibility and access rights depend on the client rather    than the server when <command>\copy</command> is used.   </para>   <para>    It is recommended that the file name used in <command>COPY</command>    always be specified as an absolute path. This is enforced by the    server in the case of <command>COPY TO</command>, but for    <command>COPY FROM</command> you do have the option of reading from    a file specified by a relative path. The path will be interpreted    relative to the working directory of the server process (somewhere below    the data directory), not the client's working directory.   </para>   <para>    <command>COPY FROM</command> will invoke any triggers and check    constraints on the destination table. However, it will not invoke rules.   </para>   <para>    <command>COPY</command> stops operation at the first error. This    should not lead to problems in the event of a <command>COPY    TO</command>, but the target table will already have received    earlier rows in a <command>COPY FROM</command>. These rows will not    be visible or accessible, but they still occupy disk space. This may    amount to a considerable amount of wasted disk space if the failure    happened well into a large copy operation. You may wish to invoke    <command>VACUUM</command> to recover the wasted space.   </para> </refsect1>  <refsect1>  <title>File Formats</title>  <refsect2>   <title>Text Format</title>   <para>    When <command>COPY</command> is used without the <literal>BINARY</literal> option,    the data read or written is a text file with one line per table row.    Columns in a row are separated by the delimiter character.    The column values themselves are strings generated by the    output function, or acceptable to the input function, of each    attribute's data type.  The specified null string is used in    place of columns that are null.    <command>COPY FROM</command> will raise an error if any line of the    input file contains more or fewer columns than are expected.    If <literal>OIDS</literal> is specified, the OID is read or written as the first column,    preceding the user data columns.   </para>   <para>    End of data can be represented by a single line containing just    backslash-period (<literal>\.</>).  An end-of-data marker is    not necessary when reading from a file, since the end of file    serves perfectly well; it is needed only when copying data to or from    client applications using pre-3.0 client protocol.   </para>   <para>    Backslash characters (<literal>\</>) may be used in the    <command>COPY</command> data to quote data characters that might    otherwise be taken as row or column delimiters. In particular, the    following characters <emphasis>must</> be preceded by a backslash if    they appear as part of a column value: backslash itself,    newline, carriage return, and the current delimiter character.   </para>   <para>    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>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久精品视频一区二区| 欧美一卡在线观看| 国产视频一区二区在线观看| 日本美女一区二区三区视频| 在线精品视频小说1| 亚洲欧美偷拍三级| 欧美情侣在线播放| 精品一区二区三区在线观看 | 99久久伊人精品| 综合久久久久久| 国内成+人亚洲+欧美+综合在线| 成人免费黄色大片| 国产午夜精品久久| 92精品国产成人观看免费| 久久精工是国产品牌吗| 亚洲精品国产品国语在线app| 久久在线观看免费| 91麻豆精品国产自产在线观看一区 | 99视频有精品| 久久老女人爱爱| 国产一区二区三区在线观看免费 | 成人黄色av网站在线| 国产精品区一区二区三区| 欧美大尺度电影在线| 亚洲视频每日更新| 欧美一区二视频| 国产成人在线观看免费网站| 蜜乳av一区二区| 五月天亚洲精品| 亚洲大片在线观看| 亚洲综合男人的天堂| 一区二区三区免费看视频| 国产精品伦理在线| 亚洲欧洲日韩在线| 综合在线观看色| 亚洲品质自拍视频| 亚洲精品成人a在线观看| 91色在线porny| 国产精品1024| 亚洲综合在线五月| 日韩免费视频一区| 欧美日韩精品欧美日韩精品| 精品无人码麻豆乱码1区2区| 久久久久久久久蜜桃| 蜜桃精品视频在线| 国产精品麻豆视频| 国产精品99久久久| 日韩欧美激情一区| 麻豆国产精品777777在线| 在线视频一区二区免费| 午夜一区二区三区视频| 欧美va亚洲va在线观看蝴蝶网| 久久亚洲欧美国产精品乐播| 最近中文字幕一区二区三区| 蜜桃视频第一区免费观看| www.在线成人| 欧美成人激情免费网| 亚洲手机成人高清视频| 国产一区日韩二区欧美三区| 一本一本大道香蕉久在线精品| 欧美一区二区黄色| 亚洲品质自拍视频| 亚洲黄色小视频| 美女视频网站黄色亚洲| 国产成人一级电影| 97精品久久久午夜一区二区三区 | 欧美日产国产精品| 国产91精品精华液一区二区三区 | 91精品婷婷国产综合久久竹菊| 亚洲成人自拍偷拍| 国产精品久久久久7777按摩| 色中色一区二区| 欧美电影免费观看高清完整版在| 国产三级精品三级| 免费观看在线色综合| k8久久久一区二区三区| 国产日韩成人精品| 亚洲男人的天堂在线aⅴ视频 | 日韩欧美国产精品| 一区二区三区蜜桃| 成人aa视频在线观看| 日韩一区二区电影| 亚洲高清免费视频| 在线一区二区视频| 国产精品婷婷午夜在线观看| 另类小说图片综合网| 26uuu精品一区二区三区四区在线 26uuu精品一区二区在线观看 | 亚洲国产精品黑人久久久| 欧美精品一区二区三区一线天视频| 日韩你懂的电影在线观看| 久久久久亚洲综合| 丝袜美腿亚洲色图| 91麻豆国产香蕉久久精品| 欧美激情在线一区二区| 国产成人免费视频网站高清观看视频| 91麻豆精品国产无毒不卡在线观看| 欧美日韩在线播| 欧美一区二区三区啪啪| 在线这里只有精品| 久久精品一区二区三区不卡牛牛| 久久精品99国产精品日本| 国产一区二区三区四| 欧美一区二区成人| 国产一区在线观看麻豆| 日韩欧美国产综合在线一区二区三区| 亚洲欧美另类小说| 欧美色图一区二区三区| 亚洲国产视频a| 91精品国产91久久综合桃花 | 亚洲午夜精品网| 911国产精品| 国产精品夜夜嗨| 亚洲激情欧美激情| 精品嫩草影院久久| 成人一道本在线| 天堂资源在线中文精品| 精品国产3级a| 91女人视频在线观看| 日本最新不卡在线| 国产精品丝袜久久久久久app| yourporn久久国产精品| 五月婷婷色综合| 国产精品丝袜91| 欧美一区二区三区不卡| 99久久99久久精品免费观看| 免费黄网站欧美| 亚洲欧美激情插| 2020国产精品久久精品美国| 欧美日韩精品二区第二页| 高清不卡一二三区| 天堂影院一区二区| 亚洲欧美日韩人成在线播放| 亚洲精品一区二区三区精华液 | 老司机一区二区| 亚洲一二三四区| 亚洲天堂成人网| 国产三级三级三级精品8ⅰ区| 精品福利视频一区二区三区| 色婷婷综合五月| 99久久er热在这里只有精品15| 国产凹凸在线观看一区二区| 久久99精品久久只有精品| 欧美96一区二区免费视频| 亚洲国产一区二区三区青草影视| 一区二区三区色| 亚洲欧洲中文日韩久久av乱码| 久久久久久毛片| 国产精品你懂的在线| 国产精品丝袜91| 亚洲欧美电影一区二区| 亚洲精品日日夜夜| 亚洲综合在线五月| 日韩电影一区二区三区| 奇米色一区二区三区四区| 青青草一区二区三区| 久草在线在线精品观看| 不卡av在线网| 欧美天天综合网| 精品国产一区二区三区四区四 | 91精品国产综合久久久久久 | 久久久久久久免费视频了| 2014亚洲片线观看视频免费| 国产精品美女久久久久高潮| 国产精品麻豆久久久| 视频一区国产视频| 成人免费视频免费观看| 欧美图片一区二区三区| 欧美第一区第二区| 亚洲欧美成人一区二区三区| 三级影片在线观看欧美日韩一区二区| 日韩国产欧美视频| 成人白浆超碰人人人人| 91精品国产综合久久精品app| 久久夜色精品国产噜噜av| 亚洲一二三四区不卡| 不卡av电影在线播放| 日韩女同互慰一区二区| 亚洲成人av一区二区| 国产人妖乱国产精品人妖| 亚洲精品日韩综合观看成人91| 激情偷乱视频一区二区三区| 色老汉一区二区三区| 久久久亚洲欧洲日产国码αv| 日韩1区2区日韩1区2区| 99久精品国产| 中文字幕欧美日本乱码一线二线| 亚洲6080在线| 欧美老肥妇做.爰bbww| 最好看的中文字幕久久| 99久久久久免费精品国产| 中文字幕欧美日韩一区| 亚洲欧美日韩人成在线播放| 一区二区三区欧美日| 国产曰批免费观看久久久| 欧美电影免费观看完整版 | 51精品久久久久久久蜜臀| 亚洲国产成人91porn| 在线电影院国产精品| 日韩成人午夜电影| 精品国产91洋老外米糕|