Re: [BUGS] Incorrect type in pg_cast causes Postmaster to core dump

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [BUGS] Incorrect type in pg_cast causes Postmaster to core dump
Дата
Msg-id CAB7nPqScwANUo3=pgu94Obve4VYZMKOkj=a+LkC6zKF4-oWiRw@mail.gmail.com
обсуждение исходный текст
Ответ на [BUGS] Incorrect type in pg_cast causes Postmaster to core dump  (Greg Clough <greg.clough@enterprisedb.com>)
Список pgsql-bugs
On Fri, Apr 21, 2017 at 7:28 PM, Greg Clough
<greg.clough@enterprisedb.com> wrote:
> postgres=# INSERT INTO pg_cast (castsource, casttarget, castfunc,
> castcontext, castmethod) VALUES (16,1700,16384,'a','f');
> INSERT 16385 1

You should never, *ever* manipulate catalog tables manually. There is
a DDL command called CREATE CAST, better to use it.
-- 
Michael


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Irina Mileva
Дата:
Сообщение: [BUGS] ON CONFLICT issie detected
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] Incorrect type in pg_cast causes Postmaster to core dump