Re: BUG #15536: ERROR: column "value " does not exist

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: BUG #15536: ERROR: column "value " does not exist
Дата
Msg-id 20181205140206.rykukyxxp6rot2d4@alvherre.pgsql
обсуждение исходный текст
Ответ на RE: BUG #15536: ERROR: column "value " does not exist  ("Togou, Hakim" <hakim.togou@capgemini.com>)
Ответы Re: BUG #15536: ERROR: column "value " does not exist  ("David G. Johnston" <david.g.johnston@gmail.com>)
RE: BUG #15536: ERROR: column "value " does not exist  ("Togou, Hakim" <hakim.togou@capgemini.com>)
Список pgsql-bugs
On 2018-Dec-05, Togou, Hakim wrote:

> Hi David,
> I have already quoted the values, this is my query right now:
> 'INSERT INTO assetmanagement$asset("id","ticker","fullname")
>       VALUES ('+'12345678910'+','+'test1'+','+'test2'+');
> It is an execute statement java action.

This is a completely different statement than you first showed --
completely different quoting in column names and values, etc.  You need
to be very exact and strict about what you post, because one of those
quoting things is likely the cause of your problem.  Don't try to
transcribe things manually ... you need to copy & paste instead.

You also need to show exactly what is the error message you're
obtaining.  The server log might be useful too.

> I have tried everything to get the insert a record into an postgres db. This
> is my sql query:
> 'INSERT INTO public."assetmanagement$asset"(ticker, fullname)
>         VALUES (test1,test2);'


-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: "Togou, Hakim"
Дата:
Сообщение: RE: BUG #15536: ERROR: column "value " does not exist
Следующее
От: "Togou, Hakim"
Дата:
Сообщение: RE: BUG #15536: ERROR: column "value " does not exist