How to insert default value with libpq? - Mailing list pgsql-interfaces

From sanpi+postgersql@homecomputing.fr
Subject How to insert default value with libpq?
Date
Msg-id e7a30543-1b9f-b137-253f-ff9cc9aac893@homecomputing.fr
Whole thread Raw
Responses Re: How to insert default value with libpq?  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List 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?

Attachment

pgsql-interfaces by date:

Previous
From: Tony Locke
Date:
Subject: New run() method to simplify things in pg8000
Next
From: Peter Eisentraut
Date:
Subject: Re: How to insert default value with libpq?