How to insert default value with libpq?

Поиск
Список
Период
Сортировка
От sanpi+postgersql@homecomputing.fr
Тема How to insert default value with libpq?
Дата
Msg-id e7a30543-1b9f-b137-253f-ff9cc9aac893@homecomputing.fr
обсуждение исходный текст
Ответы Re: How to insert default value with libpq?
Список pgsql-interfaces
Hello,

I would like to insert the default value for a field with libpq, but
inserting null or "default" doesn’t work.

I attached a simple example also available here
https://gitlab.com/snippets/1970590

Is it possible?

Вложения

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

Предыдущее
От: Tony Locke
Дата:
Сообщение: New run() method to simplify things in pg8000
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: How to insert default value with libpq?