From: JiangWei <jw.pgsql@sduept.com>
To: Volkan YAZICI <yazicivo@ttnet.net.tr>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: HOWTO pass "default value" to PQexecParams?
Date: Tue, 10 Jan 2006 08:48:43 +0800
Message-ID: <43C3046B.90501@sduept.com> (raw)
In-Reply-To: <20060109104145.GA546@alamut>
References: <43BDC4EF.7090408@sduept.com>
<20060107094455.GA634@alamut>
<43C21C43.8020006@sduept.com>
<20060109104145.GA546@alamut>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Volkan YAZICI wrote:
<blockquote cite="mid20060109104145.GA546@alamut" type="cite">
<pre wrap="">On Jan 09 04:18, JiangWei wrote:
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">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.
</pre>
</blockquote>
<pre wrap="">We can declare a specialized oid for this.
</pre>
</blockquote>
<pre wrap=""><!---->
You mean in the parameter types? </pre>
</blockquote>
Yes.<br>
<blockquote cite="mid20060109104145.GA546@alamut" type="cite">
<pre wrap="">If so, is this supported by PostgreSQL?
</pre>
</blockquote>
No. Just an idea. "EXPRESSION_OID" for 'DEFAULT' , ' foo ( id, 2) ',
'm * n + x' ...<br>
<br>
<br>
</body>
</html>
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: jw.pgsql@sduept.com, yazicivo@ttnet.net.tr
Subject: Re: HOWTO pass "default value" to PQexecParams?
In-Reply-To: <43C3046B.90501@sduept.com>
* 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