Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c9YDx-0007eY-Up for pgsql-bugs@arkaria.postgresql.org; Wed, 23 Nov 2016 14:08:34 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1c9YDw-0001zS-NP for pgsql-bugs@arkaria.postgresql.org; Wed, 23 Nov 2016 14:08:32 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1c9W3e-00026V-Qp for pgsql-bugs@postgresql.org; Wed, 23 Nov 2016 11:49:46 +0000 Received: from mail.p1.com ([123.59.92.135]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c9W3O-00066r-Kx for pgsql-bugs@postgresql.org; Wed, 23 Nov 2016 11:49:40 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.p1.com (Postfix) with ESMTP id D82901A3BFD; Wed, 23 Nov 2016 19:49:06 +0800 (CST) Received: from mail.p1.com ([127.0.0.1]) by localhost (mail.p1.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id k2AVYQkCWWw8; Wed, 23 Nov 2016 19:49:02 +0800 (CST) Received: from localhost (localhost [127.0.0.1]) by mail.p1.com (Postfix) with ESMTP id 7672A1A527D; Wed, 23 Nov 2016 19:49:02 +0800 (CST) X-Virus-Scanned: amavisd-new at mail.p1.com Received: from mail.p1.com ([127.0.0.1]) by localhost (mail.p1.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 4iz8AqnhCDYT; Wed, 23 Nov 2016 19:49:01 +0800 (CST) Received: from mail.p1.com (mail.p1.com [123.59.92.135]) by mail.p1.com (Postfix) with ESMTP id C7DE01A3BFD; Wed, 23 Nov 2016 19:49:01 +0800 (CST) Date: Wed, 23 Nov 2016 19:49:01 +0800 (CST) From: =?utf-8?B?5byg5ZiJ5b+X?= To: Pavel Stehule Cc: pgsql-bugs@postgresql.org, backend , dba Message-ID: <852583390.61551408.1479901741673.JavaMail.zimbra@p1.com> In-Reply-To: <713389805.16313402.1476251507846.JavaMail.zimbra@p1.com> References: <1560190516.16233092.1476249746147.JavaMail.zimbra@p1.com> <176151950.16244873.1476250054458.JavaMail.zimbra@p1.com> <713389805.16313402.1476251507846.JavaMail.zimbra@p1.com> Subject: Re: got some errors after upgrade poestgresql from 9.5 to 9.6 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_61551407_1107205235.1479901741671" X-Mailer: Zimbra 8.0.9_GA_6191 (ZimbraWebClient - SAF10 (Mac)/8.0.9_GA_6191) Thread-Topic: got some errors after upgrade poestgresql from 9.5 to 9.6 Thread-Index: DU3kPs5fuga7yYEM7Uk3REcvmdPITouHCryz X-Zimbra-DL: backend@p1.com, dba@p1.com X-Pg-Spam-Score: -4.8 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org ------=_Part_61551407_1107205235.1479901741671 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi=20 i got an error when upgrade postgresql9.5 to 9.6.1 ,server terminate the re= quests , but don't give the reasons , i execute this query manually , it wo= rks .could you explain this ?=20 pg_dump: [archiver (db)] query failed: server closed the connection unexpec= tedly=20 This probably means the server terminate d abnormally=20 before or while processing the request.=20 pg_dump: [archiver (db)] query was: SELECT t.tableoid, t.oid, t.relname AS = indexname, pg_catalog.pg_get_indexdef(i.indexrelid) AS indexdef, t.relnatts= AS indnkeys, i.indkey, i.indisclustered, i.indisreplident, t.relpages, c.c= ontype, c.conname, c.condeferrable, c.condeferred, c.tableoid AS contableoi= d, c.oid AS conoid, pg_catalog.pg_get_constraintdef(c.oid, false) AS condef= , (SELECT spcname FROM pg_catalog.pg_tablespace s WHERE s.oid =3D t.reltabl= espace) AS tablespace, t.reloptions AS indreloptions FROM pg_catalog.pg_ind= ex i JOIN pg_catalog.pg_class t ON (t.oid =3D i.indexrelid) LEFT JOIN pg_ca= talog.pg_constraint c ON (i.indrelid =3D c.conrelid AND i.indexrelid =3D c.= conindid AND c.contype IN ('p','u','x')) WHERE i.indrelid =3D '21438180'::p= g_catalog.oid AND i.indisvalid AND i.indisready ORDER BY indexname=20 219733,1 Bot=20 =3D=3D=3DLOGS=20 2016-11-23 19:26:05.027 CST,,,7888,,58357a04.1ed0,3,,2016-11-23 19:14:12 CS= T,,0,LOG,00000,"server process (PID 7993) was terminate d by signal 9: Kill= ed","Failed process was running: SELECT t.tableoid, t.oid, t.relname AS ind= exname, pg_catalog.pg_get_indexdef(i.indexrelid) AS indexdef, t.relnatts AS= indnkeys, i.indkey, i.indisclustered, i.indisreplident, t.relpages, c.cont= ype, c.conname, c.condeferrable, c.condeferred, c.tableoid AS contableoid, = c.oid AS conoid, pg_catalog.pg_get_constraintdef(c.oid, false) AS condef, (= SELECT spcname FROM pg_catalog.pg_tablespace s WHERE s.oid =3D t.reltablesp= ace) AS tablespace, t.reloptions AS indreloptions FROM pg_catalog.pg_index = i JOIN pg_catalog.pg_class t ON (t.oid =3D i.indexrelid) LEFT JOIN pg_catal= og.pg_constraint c ON (i.indrelid =3D c.conrelid AND i.indexrelid =3D c.con= indid AND c.contype IN ('p','u','x')) WHERE i.indrelid =3D '21438180'::pg_c= atalog.oid AND i.indisvalid AND i.indisready ORDER BY indexname",,,,,,,,""= =20 2016-11-23 19:26:05.031 CST,,,7888,,58357a04.1ed0,4,,2016-11-23 19:14:12 CS= T,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""= =20 2016-11-23 19:26:05.059 CST,"postgres","putong-shard-2",7992,"[local]",5835= 7a30.1f38,6,"SELECT",2016-11-23 19:14:56 CST,5/11,0,WARNING,57P02,"terminat= ing connection because of crash of another server process","The postmaster = has commanded this server process to roll back the current transaction and = exit, because another server process exited abnormally and possibly corrupt= ed shared memory.","In a moment you should be able to reconnect to the data= base and repeat your command.",,,,,,,"pg_dump"=20 2016-11-23 19:26:05.165 CST,,,7888,,58357a04.1ed0,5,,2016-11-23 19:14:12 CS= T,,0,LOG,00000,"all server processes terminate d; reinitializing",,,,,,,,,"= "=20 2016-11-23 19:26:05.473 CST,,,7888,,58357a04.1ed0,6,,2016-11-23 19:14:12 CS= T,,0,LOG,00000,"received fast shutdown request",,,,,,,,,""=20 2016-11-23 19:26:05.481 CST,,,8016,,58357ccd.1f50,1,,2016-11-23 19:26:05 CS= T,,0,LOG,00000,"database system was interrupted; last known up at 2016-11-2= 3 19:24:19 CST",,,,,,,,,""=20 2016-11-23 19:26:22.417 CST,,,8016,,58357ccd.1f50,2,,2016-11-23 19:26:05 CS= T,,0,LOG,00000,"database system was not properly shut down; automatic recov= ery in progress",,,,,,,,,""=20 2016-11-23 19:26:22.752 CST,,,8016,,58357ccd.1f50,3,,2016-11-23 19:26:05 CS= T,,0,LOG,00000,"redo starts at 44A/2C0CEE30",,,,,,,,,""=20 2016-11-23 19:26:22.760 CST,,,7888,,58357a04.1ed0,7,,2016-11-23 19:14:12 CS= T,,0,LOG,00000,"abnormal database system shutdown",,,,,,,,,""=20 2016-11-23 19:43:12.371 CST,,,8051,,583580cf.1f73,1,,2016-11-23 19:43:11 CS= T,,0,LOG,00000,"ending log output to stderr",,"Future log output will go to= log destination ""csvlog"".",,,,,,,""=20 ----- =E5=8E=9F=E5=A7=8B=E9=82=AE=E4=BB=B6 ----- =E5=8F=91=E4=BB=B6=E4=BA=BA: "=E5=BC=A0=E5=98=89=E5=BF=97" =20 =E6=94=B6=E4=BB=B6=E4=BA=BA: "Pavel Stehule" =20 =E6=8A=84=E9=80=81: pgsql-bugs@postgresql.org, "backend" , = "dba" =20 =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: =E6=98=9F=E6=9C=9F=E4=B8=89, 2016=E5= =B9=B4 10 =E6=9C=88 12=E6=97=A5 =E4=B8=8B=E5=8D=88 1:51:47=20 =E4=B8=BB=E9=A2=98: Re: [BUGS] got some errors after upgrade poestgresql fr= om 9.5 to 9.6=20 thanks for your reply , i try to vacuum the table , can't work , i also rec= reate the table , worked , but can't do this in production , because we hav= e lots of big table had change the columns ,=20 and thanks for your reminder , before delete the data from system catalog t= able , i do a backup , and restore it after test. .accturlly , vacuum full = is like recreate a new table , but i will test=20 can someone can explain this errors.=20 thanks a lot .=20 ----- =E5=8E=9F=E5=A7=8B=E9=82=AE=E4=BB=B6 ----- =E5=8F=91=E4=BB=B6=E4=BA=BA: "Pavel Stehule" =20 =E6=94=B6=E4=BB=B6=E4=BA=BA: "=E5=BC=A0=E5=98=89=E5=BF=97" =20 =E6=8A=84=E9=80=81: pgsql-bugs@postgresql.org, "backend" , = "dba" =20 =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: =E6=98=9F=E6=9C=9F=E4=B8=89, 2016=E5= =B9=B4 10 =E6=9C=88 12=E6=97=A5 =E4=B8=8B=E5=8D=88 1:40:15=20 =E4=B8=BB=E9=A2=98: Re: [BUGS] got some errors after upgrade poestgresql fr= om 9.5 to 9.6=20 2016-10-12 7:27 GMT+02:00 =E5=BC=A0=E5=98=89=E5=BF=97 < zhangjiazhi@p1.com = > :=20 Hi=20 I am got a problem after upgrade poestgresql from 9.5 to 9.6 .it's occurred= when calling an exits function .=20 It is little bit strange - I don't remember any related change in this area= .=20
putong-contacts=3D# select insert_user_mobile_contact_hashes(4009, '', ARRA= Y['7bd94067bb0597bf995c4eb46364a4ce'], ARRAY['c55288a186d0e6f0e3fb3b66deb65= 366'], ARRAY[''], false);=20 ERROR: table row type and query-specified row type do not match=20 DETAIL: Query provides a value for a dropped column at ordinal position 6.= =20 CONTEXT: SQL statement "UPDATE c=20 SET=20 phone_number =3D phone_number_arr_[i],=20 name =3D name_=20 WHERE=20 user_id =3D user_id_=20 AND=20 md5_hash11 =3D md5_hash11_arr_[i]=20 AND=20 coalesce(phone_number,'') =3D ''=20 AND=20 char_length(phone_number_arr_[i]) > 0"=20 PL/pgSQL function insert_user_mobile_contact_hashes(integer,character varyi= ng,character varying[],character varying[],character varying[],boolean) lin= e 36 at SQL statement=20 and here is the column in this table be dropped=20 putong-contacts=3D# select * from pg_attribute where attrelid =3D 'user_mob= ile_contact_hashes'::regclass and attisdropped;=20 attrelid | attname | atttypid | attstattarget | attlen | attnum | attndims = | attcacheoff | atttypmod | attbyval | attstorage | attalign | attnotnull |= atthasdef | attisdropped | attislocal | attinhcount | attcollation | attac= l | attoptions | attfdwoptions=20 ----------+-------------------------------+----------+---------------+-----= ---+--------+----------+-------------+-----------+----------+------------+-= ---------+------------+-----------+--------------+------------+------------= -+--------------+--------+------------+---------------=20 6097850 | ........pg.dropped.6........ | 0 | 0 | 8 | 6 | 0 | -1 | -1 | f | = p | d | f | f | t | t | 0 | 0 | | |=20 6097850 | ........pg.dropped.10........ | 0 | 0 | 1 | 10 | 0 | -1 | -1 | f = | p | c | f | f | t | t | 0 | 0 | | |=20 when i create this table user_mobile_contact_hashes , the function works we= ll. i try to delete those 2 dropped column info from system catalog table ,= but it can't work and got other problems.=20
It is most bad idea! Newer delete anything from system tables. Now, the sys= tem catalogue is broken.=20 The correct fix for first issue is a VACUUM FULL. Second issue - you can tr= y drop table and recreate it,=20 Regards=20 Pavel=20
putong-contacts=3D# select insert_user_mobile_contact_hashes(4009, '', ARRA= Y['7bd94067bb0597bf995c4eb46364a4ce'], ARRAY['c55288a186d0e6f0e3fb3b66deb65= 366'], ARRAY[''], false);=20 ERROR: catalog is missing 2 attribute(s) for relid 6097850=20 Can you explain this issue and give me some advise how to handle this . tha= nks a lot .=20 --=20 Sent via pgsql-bugs mailing list ( pgsql-bugs@postgresql.org )=20 To make changes to your subscription:=20 http://www.postgresql.org/mailpref/pgsql-bugs=20
------=_Part_61551407_1107205235.1479901741671 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hi 
   = i got an error when upgrade postgresql9.5 to 9.6.1 ,server terminate the re= quests  , but don't give the reasons , i execute this query manually ,= it works .could you explain this ?

pg_dump: [archiver (db)] query f= ailed: server closed the connection unexpectedly

        This p= robably means the server terminated abnormally

=

    &nbs= p;   before or while processing the request.

pg_dump: [archiver (db)] query wa= s: SELECT t.tableoid, t.oid, t.relname AS indexname, pg_catalog.pg_get_inde= xdef(i.indexrelid) AS indexdef, t.relnatts AS indnkeys, i.indkey, i.indiscl= ustered, i.indisreplident, t.relpages, c.contype, c.conname, c.condeferrabl= e, c.condeferred, c.tableoid AS contableoid, c.oid AS conoid, pg_catalog.pg= _get_constraintdef(c.oid, false) AS condef, (SELECT spcname FROM pg_catalog= .pg_tablespace s WHERE s.oid =3D t.reltablespace) AS tablespace, t.reloptio= ns AS indreloptions FROM pg_catalog.pg_index i JOIN pg_catalog.pg_class t O= N (t.oid =3D i.indexrelid) LEFT JOIN pg_catalog.pg_constraint c ON (i.indre= lid =3D c.conrelid AND i.indexrelid =3D c.conindid AND c.contype IN ('p','u= ','x')) WHERE i.indrelid =3D '21438180'::pg_catalog.oid AND i.indisvalid AN= D i.indisready ORDER BY indexname

             &= nbsp;                    =                     &nbs= p;                     &n= bsp;                     =                      = ;                     &nb= sp;                     2= 19733,1      Bot

 
=3D=3D=3DLOGS

2016-11-23 19:26:= 05.027 CST,,,7888,,58357a04.1ed0,3,,2016-11-23 19:14:12 CST,,0,LOG,00000,"s= erver process (PID 7993) was terminate<= /span>d by signal 9: Kill= ed","Failed process was running: SELECT t.tableoid, t.oid, t.relname AS ind= exname, pg_catalog.pg_get_indexdef(i.indexrelid) AS indexdef, t.relnatts AS= indnkeys, i.indkey, i.indisclustered, i.indisreplident, t.relpages, c.cont= ype, c.conname, c.condeferrable, c.condeferred, c.tableoid AS contableoid, = c.oid AS conoid, pg_catalog.pg_get_constraintdef(c.oid, false) AS condef, (= SELECT spcname FROM pg_catalog.pg_tablespace s WHERE s.oid =3D t.reltablesp= ace) AS tablespace, t.reloptions AS indreloptions FROM pg_catalog.pg_index = i JOIN pg_catalog.pg_class t ON (t.oid =3D i.indexrelid) LEFT JOIN pg_catal= og.pg_constraint c ON (i.indrelid =3D c.conrelid AND i.indexrelid =3D c.con= indid AND c.contype IN ('p','u','x')) WHERE i.indrelid =3D '21438180'::pg_c= atalog.oid AND i.indisvalid AND i.indisready ORDER BY indexname",,,,,,,,""<= /span>

2016-11-= 23 19:26:05.031 CST,,,7888,,58357a04.1ed0,4,,2016-11-23 19:14:12 CST,,0,LOG= ,00000,"terminating any other active server processes",,,,,,,,,""

2016-11-23 19:26:= 05.059 CST,"postgres","putong-shard-2",7992,"[local]",58357a30.1f38,6,"SELE= CT",2016-11-23 19:14:56 CST,5/11,0,WARNING,57P02,"terminating connection be= cause of crash of another server process","The postmaster has commanded thi= s server process to roll back the current transaction and exit, because ano= ther server process exited abnormally and possibly corrupted shared memory.= ","In a moment you should be able to reconnect to the database and repeat y= our command.",,,,,,,"pg_dump"

2016-11-23 19:26:05.165 CST,,,7888,,58357a04.1ed0,5,,= 2016-11-23 19:14:12 CST,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""

2016-11-23 19:26:05.473 CST,,,7888,,58357a= 04.1ed0,6,,2016-11-23 19:14:12 CST,,0,LOG,00000,"received fast shutdown req= uest",,,,,,,,,""

2016-11-23 19:26:05.481 CST,,,8016,,58357ccd.1f50,1,,2016-11-23 19= :26:05 CST,,0,LOG,00000,"database system was interrupted; last known up at = 2016-11-23 19:24:19 CST",,,,,,,,,""

2016-11-23 19:26:22.417 CST,,,8016,,58357ccd.1f= 50,2,,2016-11-23 19:26:05 CST,,0,LOG,00000,"database system was not properl= y shut down; automatic recovery in progress",,,,,,,,,""

<= span style=3D"font-variant-ligatures: no-common-ligatures;" data-mce-style= =3D"font-variant-ligatures: no-common-ligatures;">2016-11-23 19:26:22.752 C= ST,,,8016,,58357ccd.1f50,3,,2016-11-23 19:26:05 CST,,0,LOG,00000,"redo star= ts at 44A/2C0CEE30",,,,,,,,,""

2016-11-23 19:26:22.760 CST,,,7888,,58357a04.1ed0,7,= ,2016-11-23 19:14:12 CST,,0,LOG,00000,"abnormal database system shutdown",,= ,,,,,,,""

 


=E5=8F= =91=E4=BB=B6=E4=BA=BA: "=E5=BC=A0=E5=98=89=E5=BF=97" <zhangjiazhi@p1= .com>
=E6=94=B6=E4=BB=B6=E4=BA=BA: "Pavel Stehule" <pavel.s= tehule@gmail.com>
=E6=8A=84=E9=80=81: pgsql-bugs@postgresql.or= g, "backend" <backend@p1.com>, "dba" <dba@p1.com>
=E5=8F= =91=E9=80=81=E6=97=B6=E9=97=B4: =E6=98=9F=E6=9C=9F=E4=B8=89, 2016=E5=B9= =B4 10 =E6=9C=88 12=E6=97=A5 =E4=B8=8B=E5=8D=88 1:51:47
=E4=B8=BB=E9= =A2=98: Re: [BUGS] got some errors after upgrade poestgresql from 9.5 t= o 9.6

thanks for your reply  , i try to vacuum the table , can't = work , i also recreate the table , worked , but can't do this in production= , because we have lots of big table had change the columns , 
and thanks for your reminder , before delete the data from system catalo= g table , i do a backup , and restore it after test. .accturlly , vacuum fu= ll is like recreate a new table , but i will test
can someone can= explain this errors. 

thanks a  lot .


=E5=8F=91=E4=BB=B6=E4=BA=BA: "Pavel Ste= hule" <pavel.stehule@gmail.com>
=E6=94=B6=E4=BB=B6=E4=BA=BA: "=E5=BC=A0=E5=98=89=E5=BF=97" <zhangjiazhi@p1.com>
=E6=8A=84= =E9=80=81: pgsql-bugs@postgresql.org, "backend" <backend@p1.com>,= "dba" <dba@p1.com>
=E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: = =E6=98=9F=E6=9C=9F=E4=B8=89, 2016=E5=B9=B4 10 =E6=9C=88 12=E6=97=A5 =E4=B8= =8B=E5=8D=88 1:40:15
=E4=B8=BB=E9=A2=98: Re: [BUGS] got some erro= rs after upgrade poestgresql from 9.5 to 9.6



2016-10-= 12 7:27 GMT+02:00 =E5=BC=A0=E5=98=89=E5=BF=97 <zhangjiazhi@p1.com>:
Hi

  I am got a problem after upgra= de poestgresql from 9.5 to 9.6 .it's occurred when calling an exits functio= n .



It is little bit strange = - I don't remember any related change in this area.
 

putong-contacts=3D# select inse= rt_user_mobile_contact_hashes(4009, '', ARRAY['7bd94067bb0597bf995c4eb46364= a4ce'], ARRAY['c55288a186d0e6f0e3fb3b66deb65366'], ARRAY[''], false);
E= RROR:  table row type and query-specified row type do not match
DE= TAIL:  Query provides a value for a dropped column at ordinal position= 6.
CONTEXT:  SQL statement "UPDATE c
      &nb= sp;                 SET
  =                      = ;       phone_number =3D phone_number_arr_[i],
  &n= bsp;                     =       name =3D name_
          =               WHERE
    &n= bsp;                     =     user_id =3D user_id_
          &= nbsp;             AND
     = ;                     &nb= sp;   md5_hash11 =3D md5_hash11_arr_[i]
       = ;                 AND
  &n= bsp;                     =       coalesce(phone_number,'') =3D ''
    &nb= sp;                   AND
=                      = ;         char_length(phone_number_arr_[i]) > 0"
= PL/pgSQL function insert_user_mobile_contact_hashes(integer,character vary= ing,character varying[],character varying[],character varying[],boolean) li= ne 36 at SQL statement


and here is the column in this table b= e dropped

putong-contacts=3D# select *  from pg_attribute whe= re attrelid =3D 'user_mobile_contact_hashes'::regclass and attisdropped;  attrelid |            attname  &= nbsp;         | atttypid | attstattarget | attlen | att= num | attndims | attcacheoff | atttypmod | attbyval | attstorage | attalign= | attnotnull | atthasdef | attisdropped | attislocal | attinhcount | attco= llation | attacl | attoptions | attfdwoptions
----------+--------------= -----------------+----------+---------------+--------+--------+----------+-= ------------+-----------+----------+------------+----------+------------+--= ---------+--------------+------------+-------------+--------------+--------= +------------+---------------
  6097850 | ........pg.dropped.6....= ....  |        0 |        &nbs= p;    0 |      8 |      6 |  &= nbsp;     0 |          -1 |   =     -1 | f        | p      &n= bsp;   | d        | f        &= nbsp; | f         | t        &= nbsp;   | t          |      &n= bsp;    0 |            0 |  &n= bsp;     |            |
  = 6097850 | ........pg.dropped.10........ |        0 |&nb= sp;            0 |      1 |&nb= sp;    10 |        0 |      &n= bsp;   -1 |        -1 | f      &nbs= p; | p          | c        | f=           | f         | t=             | t        &n= bsp; |           0 |      &nbs= p;     0 |        |       = ;     |




when i create this table user_mob= ile_contact_hashes , the function works well. i try to delete those 2 dropp= ed column info from system catalog table , but it can't work  and got = other problems.

It is most bad idea! Ne= wer delete anything from system tables. Now, the system catalogue is broken= .

The correct fix for first issue is a VACUUM = FULL. Second issue - you can try drop table and recreate it,

Regards

Pavel
&nb= sp;

putong-contact= s=3D# select insert_user_mobile_contact_hashes(4009, '', ARRAY['7bd94067bb0= 597bf995c4eb46364a4ce'], ARRAY['c55288a186d0e6f0e3fb3b66deb65366'], ARRAY['= '], false);
ERROR:  catalog is missing 2 attribute(s) for relid 60= 97850

Can you explain this issue and  give me some advise how= to handle this . thanks a lot .


--
Sent v= ia pgsql-bugs mailing list (pgsql-bu= gs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



------=_Part_61551407_1107205235.1479901741671--