pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Volkan YAZICI <yazicivo@ttnet.net.tr>
To: JiangWei <jw.pgsql@sduept.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: HOWTO pass "default value" to PQexecParams?
Date: Mon, 9 Jan 2006 12:41:45 +0200
Message-ID: <20060109104145.GA546@alamut> (raw)
In-Reply-To: <43C21C43.8020006@sduept.com>
References: <43BDC4EF.7090408@sduept.com>
	<20060107094455.GA634@alamut>
	<43C21C43.8020006@sduept.com>

On Jan 09 04:18, JiangWei wrote:
> >AFAIK, it's not possible to point the field's default value using a
> >special value in the related array member. Because, you cannot declare
> >any special value in the array: NULL will be treated as NULL and other
> >char values as is.
>
> We can declare a specialized oid for this.

You mean in the parameter types? If so, is this supported by PostgreSQL?


Regards.



view thread (5+ messages)  latest in thread

Message-ID: <20060109104145.GA546@alamut>
Permalink:  ../20060109104145.GA546@alamut/
Also on:    postgresql.org/message-id/20060109104145.GA546@alamut

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: yazicivo@ttnet.net.tr, jw.pgsql@sduept.com
  Subject: Re: HOWTO pass "default value" to PQexecParams?
  In-Reply-To: <20060109104145.GA546@alamut>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox