Re: [NOVICE] DB insert Error

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: [NOVICE] DB insert Error
Дата
Msg-id 20060816055419.GA51092@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: DB insert Error  ("Jasbinder Bali" <jsbali@gmail.com>)
Ответы Re: [NOVICE] DB insert Error  ("Harpreet Dhaliwal" <harpreet.dhaliwal01@gmail.com>)
Re: [NOVICE] DB insert Error  ("Jasbinder Bali" <jsbali@gmail.com>)
Список pgsql-general
On Wed, Aug 16, 2006 at 01:46:30AM -0400, Jasbinder Bali wrote:
> I changed the datatype from varchar[] to varchar
> ECPGdebug(1,stderr) says
> [2998]: ECPGexecute line 97 Ok: INSERT 0 1
>
> Its not inserting any record even though sqlcode is 0.

Are you committing the transaction?  See the bottom of the
following page:

http://www.postgresql.org/docs/8.1/interactive/ecpg-commands.html

"In the default mode, statements are committed only when EXEC SQL
COMMIT is issued."

--
Michael Fuhr

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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: Trigger (Calling a Procedure)
Следующее
От: "Harpreet Dhaliwal"
Дата:
Сообщение: Re: Trigger (Calling a Procedure)