Re: insert values

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: insert values
Дата
Msg-id 27001.982900871@sss.pgh.pa.us
обсуждение исходный текст
Ответ на insert values  (Ines.Klimann@liafa.jussieu.fr)
Ответы Re: insert values  (Ines.Klimann@liafa.jussieu.fr)
Список pgsql-sql
Ines.Klimann@liafa.jussieu.fr writes:
> I have the following type :
> ...
> How can I insert a value in this table ?

INSERT INTO entiers VALUES('1234') should work fine.

BTW, change the "malloc" calls to "palloc" if you don't want to suffer
from severe memory leakage problems.  Otherwise the code seems OK,
though I'd recommend a tad more validity checking in the input
routine...
        regards, tom lane


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

Предыдущее
От: Jie Liang
Дата:
Сообщение: Re: Can a function return a record set?
Следующее
От: Jie Liang
Дата:
Сообщение: Re: Trouble with CREATE FUNCTION