1. <ul id="0c1fb"></ul>

      <noscript id="0c1fb"><video id="0c1fb"></video></noscript>
      <noscript id="0c1fb"><listing id="0c1fb"><thead id="0c1fb"></thead></listing></noscript>

      99热在线精品一区二区三区_国产伦精品一区二区三区女破破_亚洲一区二区三区无码_精品国产欧美日韩另类一区

      RELATEED CONSULTING
      相關(guān)咨詢
      選擇下列產(chǎn)品馬上在線溝通
      服務(wù)時間:8:30-17:00
      你可能遇到了下面的問題
      關(guān)閉右側(cè)工具欄

      新聞中心

      這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
      PostgreSQL的OID類型是什么-創(chuàng)新互聯(lián)

      這篇文章主要介紹“PostgreSQL的OID類型是什么”,在日常操作中,相信很多人在PostgreSQL的OID類型是什么問題上存在疑惑,小編查閱了各式資料,整理出簡單好用的操作方法,希望對大家解答”PostgreSQL的OID類型是什么”的疑惑有所幫助!接下來,請跟著小編一起來學(xué)習(xí)吧!

      為佛山等地區(qū)用戶提供了全套網(wǎng)頁設(shè)計制作服務(wù),及佛山網(wǎng)站建設(shè)行業(yè)解決方案。主營業(yè)務(wù)為成都做網(wǎng)站、成都網(wǎng)站設(shè)計、成都外貿(mào)網(wǎng)站建設(shè)、佛山網(wǎng)站設(shè)計,以傳統(tǒng)方式定制建設(shè)網(wǎng)站,并提供域名空間備案等一條龍服務(wù),秉承以專業(yè)、用心的態(tài)度為用戶提供真誠的服務(wù)。我們深信只要達到每一位用戶的要求,就會得到認可,從而選擇與我們長期合作。這樣,我們也可以走得更遠!

      OID定義為無符號整型數(shù)字,PG內(nèi)置了轉(zhuǎn)換函數(shù)從regproc, regprocedure, regoper, regoperator, regclass, regtype, regrole, regnamespace, regconfig, and regdictionary這些類型轉(zhuǎn)換為OID.

      TODO

      下面是一些例子:
      查詢某張表的屬性

      [local]:5432 pg12@testdb=# SELECT * FROM pg_attribute
        WHERE attrelid = (SELECT oid FROM pg_class WHERE relname = 'tbl') limit 1;
      -[ RECORD 1 ]-+---------
      attrelid      | 32774
      attname       | tableoid
      atttypid      | 26
      attstattarget | 0
      attlen        | 4
      attnum        | -6
      attndims      | 0
      attcacheoff   | -1
      atttypmod     | -1
      attbyval      | t
      attstorage    | p
      attalign      | i
      attnotnull    | t
      atthasdef     | f
      atthasmissing | f
      attidentity   | 
      attgenerated  | 
      attisdropped  | f
      attislocal    | t
      attinhcount   | 0
      attcollation  | 0
      attacl        | 
      attoptions    | 
      attfdwoptions | 
      attmissingval | 
      Time: 5.209 ms
      -->
      [local]:5432 pg12@testdb=# SELECT * FROM pg_attribute where attrelid = 'tbl'::regclass limit 1;
      -[ RECORD 1 ]-+---------
      attrelid      | 32774
      attname       | tableoid
      atttypid      | 26
      attstattarget | 0
      attlen        | 4
      attnum        | -6
      attndims      | 0
      attcacheoff   | -1
      atttypmod     | -1
      attbyval      | t
      attstorage    | p
      attalign      | i
      attnotnull    | t
      atthasdef     | f
      atthasmissing | f
      attidentity   | 
      attgenerated  | 
      attisdropped  | f
      attislocal    | t
      attinhcount   | 0
      attcollation  | 0
      attacl        | 
      attoptions    | 
      attfdwoptions | 
      attmissingval | 
      Time: 1.205 ms

      查詢操作符+的相關(guān)信息

      [local]:5432 pg12@testdb=# select * from pg_operator where oid='+(int,float)'::regoperator;
      ERROR:  operator does not exist: +(int,float)
      LINE 1: select * from pg_operator where oid='+(int,float)'::regopera...
                                                  ^
      Time: 1.502 ms
      [local]:5432 pg12@testdb=# select * from pg_operator where oid='+(float,float)'::regoperator;
      -[ RECORD 1 ]+---------
      oid          | 591
      oprname      | +
      oprnamespace | 11
      oprowner     | 10
      oprkind      | b
      oprcanmerge  | f
      oprcanhash   | f
      oprleft      | 701
      oprright     | 701
      oprresult    | 701
      oprcom       | 591
      oprnegate    | 0
      oprcode      | float8pl
      oprrest      | -
      oprjoin      | -
      Time: 3.446 ms

      注意:操作符需指定參數(shù).

      到此,關(guān)于“PostgreSQL的OID類型是什么”的學(xué)習(xí)就結(jié)束了,希望能夠解決大家的疑惑。理論與實踐的搭配能更好的幫助大家學(xué)習(xí),快去試試吧!若想繼續(xù)學(xué)習(xí)更多相關(guān)知識,請繼續(xù)關(guān)注創(chuàng)新互聯(lián)-成都網(wǎng)站建設(shè)公司網(wǎng)站,小編會繼續(xù)努力為大家?guī)砀鄬嵱玫奈恼拢?/p>
      網(wǎng)站名稱:PostgreSQL的OID類型是什么-創(chuàng)新互聯(lián)
      標(biāo)題來源:http://ef60e0e.cn/article/ppsos.html

      99热在线精品一区二区三区_国产伦精品一区二区三区女破破_亚洲一区二区三区无码_精品国产欧美日韩另类一区
      1. <ul id="0c1fb"></ul>

        <noscript id="0c1fb"><video id="0c1fb"></video></noscript>
        <noscript id="0c1fb"><listing id="0c1fb"><thead id="0c1fb"></thead></listing></noscript>

        海晏县| 高阳县| 衡东县| 崇明县| 扶绥县| 宁晋县| 综艺| 富源县| 昌黎县| 中西区| 东台市| 班玛县| 蓝田县| 株洲市| 申扎县| 防城港市| 新兴县| 汤原县| 兴化市| 伊宁市| 织金县| 拜泉县| 河南省| 乃东县| 睢宁县| 双江| 承德县| 旌德县| 瑞金市| 诸城市| 察隅县| 新宾| 兰州市| 泗洪县| 鄯善县| 佛坪县| 游戏| 柳河县| 宁都县| 河津市| 会昌县|