亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
偷偷要91色婷婷| 麻豆91在线播放免费| 国产精品卡一卡二卡三| 欧美精品一区二区蜜臀亚洲| 日韩欧美三级在线| 久久综合九色综合97婷婷女人| 日韩精品自拍偷拍| 精品国产一区二区三区久久久蜜月| 7777精品伊人久久久大香线蕉经典版下载 | 亚洲自拍偷拍av| 国产精品国产三级国产普通话三级 | 亚洲高清视频的网址| 亚洲在线观看免费视频| 午夜不卡av免费| 日本中文字幕一区二区视频| 男女男精品视频| 精品一区中文字幕| 国产成人在线电影| av福利精品导航| 色成人在线视频| 欧美日韩国产精品成人| 欧美一区2区视频在线观看| 精品av久久707| 中文子幕无线码一区tr| 亚洲三级免费观看| 亚洲综合在线电影| 日韩在线观看一区二区| 国产真实乱子伦精品视频| 国产激情精品久久久第一区二区| 波多野结衣精品在线| 在线观看日韩电影| 欧美一级高清片| 国产欧美日韩不卡| 亚洲自拍偷拍图区| 久久国产欧美日韩精品| www.欧美精品一二区| 欧美男女性生活在线直播观看| 欧美电影免费观看高清完整版在线 | 欧美视频在线观看一区二区| 日韩午夜激情av| 国产精品久久久久久久久免费丝袜| 一个色在线综合| 国产一区二区在线免费观看| 色综合久久中文综合久久97| 日韩三级免费观看| 国产精品国产成人国产三级| 日韩成人一区二区三区在线观看| 高清不卡在线观看| 欧美精品一二三| 国产精品国产自产拍高清av | 久久av老司机精品网站导航| heyzo一本久久综合| 欧美一区二区精品在线| 国产精品久久久久国产精品日日| 日韩中文字幕亚洲一区二区va在线| 国产精品一色哟哟哟| 欧美日韩国产一二三| 日本一区二区三区电影| 日韩av中文字幕一区二区| 99久免费精品视频在线观看| 日韩久久久精品| 亚洲伊人色欲综合网| 国产成a人亚洲精品| 51久久夜色精品国产麻豆| 国产精品高潮呻吟久久| 激情综合色播激情啊| 欧美视频三区在线播放| 亚洲国产高清在线| 精品一区二区在线观看| 日本高清不卡aⅴ免费网站| 久久久99精品久久| 美女在线视频一区| 欧美午夜精品免费| 中文字幕五月欧美| 国产传媒一区在线| 欧美va亚洲va| 美国毛片一区二区三区| 欧美日本在线播放| 亚洲自拍都市欧美小说| 99精品久久99久久久久| 久久精品水蜜桃av综合天堂| 久久机这里只有精品| 91麻豆精品国产91久久久久久久久| 一区二区三区中文字幕| av动漫一区二区| 国产精品乱码一区二区三区软件 | 日本在线不卡视频| 欧美综合一区二区三区| 亚洲婷婷在线视频| 成人久久18免费网站麻豆| 久久一日本道色综合| 麻豆成人在线观看| 91精品国产乱| 日韩综合小视频| 51久久夜色精品国产麻豆| 亚洲v日本v欧美v久久精品| 一本久久a久久免费精品不卡| 国产精品国产精品国产专区不片| 国产成人精品1024| 国产亚洲一本大道中文在线| 国产一区二区三区在线观看免费视频| 日韩美女视频在线| 欧美美女一区二区| 一区二区三区日韩欧美| 色av一区二区| 午夜伊人狠狠久久| 91精品国产免费久久综合| 日本不卡在线视频| 日韩视频在线你懂得| 久久激情综合网| 久久久久久久久久久电影| 激情av综合网| 日本一区二区动态图| zzijzzij亚洲日本少妇熟睡| 亚洲人成小说网站色在线| 在线观看视频91| 亚洲制服丝袜一区| 一区二区免费在线播放| 亚洲成人动漫一区| 日本国产一区二区| 亚洲成av人片在www色猫咪| 亚洲成人综合在线| 欧美日韩精品是欧美日韩精品| 日韩av电影天堂| 精品久久国产字幕高潮| 懂色av一区二区三区蜜臀| 亚洲婷婷综合色高清在线| 欧美日韩在线亚洲一区蜜芽| 秋霞影院一区二区| 国产色产综合色产在线视频| av中文字幕亚洲| 亚洲一区二区三区四区不卡| 日韩欧美国产小视频| 成人精品电影在线观看| 亚洲成人综合网站| 久久久久亚洲蜜桃| 91啦中文在线观看| 免费人成黄页网站在线一区二区| 久久噜噜亚洲综合| 色综合色狠狠天天综合色| 日本大胆欧美人术艺术动态| 国产日韩高清在线| 欧美日韩综合一区| 国产麻豆精品久久一二三| 一区二区成人在线| www国产精品av| 色婷婷精品大在线视频| 蜜臀av一区二区在线免费观看| 国产精品二三区| 6080日韩午夜伦伦午夜伦| 成人av资源站| 美女视频一区二区| 亚洲另类春色校园小说| 欧美一级精品大片| 99精品国产视频| 激情综合色综合久久综合| 亚洲精品成人悠悠色影视| 精品国产污网站| 欧美色精品在线视频| 国产a精品视频| 偷拍一区二区三区四区| 中文字幕在线观看不卡视频| 欧美一卡二卡三卡| 一本一道久久a久久精品综合蜜臀| 极品少妇一区二区三区精品视频 | 亚洲成av人片一区二区梦乃| 国产日韩欧美不卡在线| 欧美一区二区私人影院日本| 99久久精品免费| 精品一区二区免费| 亚洲高清视频中文字幕| 亚洲欧洲av色图| 久久精品一区二区三区不卡牛牛| 欧美精品一级二级| 在线观看日韩一区| 成人av先锋影音| 国内精品第一页| 男女男精品视频网| 亚洲一区二区在线视频| 国产精品国产三级国产普通话99| 精品国内二区三区| 91精品国产综合久久精品| 欧美性极品少妇| 91小视频在线| 粗大黑人巨茎大战欧美成人| 国产揄拍国内精品对白| 日韩高清在线观看| 午夜免费欧美电影| 玉米视频成人免费看| 中文字幕欧美日韩一区| 精品粉嫩超白一线天av| 日韩一级在线观看| 欧美理论电影在线| 欧美日韩五月天| 欧美综合欧美视频| 欧美性一级生活| 91麻豆国产香蕉久久精品| 99久久精品国产一区| 成人黄色电影在线 | 制服丝袜中文字幕一区|