Re: HOWTO pass "default value" to PQexecParams?

Поиск
Список
Период
Сортировка
От JiangWei
Тема Re: HOWTO pass "default value" to PQexecParams?
Дата
Msg-id 43C3046B.90501@sduept.com
обсуждение исходный текст
Ответ на Re: HOWTO pass "default value" to PQexecParams?  (Volkan YAZICI <yazicivo@ttnet.net.tr>)
Список pgsql-interfaces
Volkan YAZICI wrote: <blockquote cite="mid20060109104145.GA546@alamut" type="cite"><pre wrap="">On Jan 09 04:18,
JiangWeiwrote: </pre><blockquote type="cite"><blockquote type="cite"><pre wrap="">AFAIK, it's not possible to point the
field'sdefault 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><prewrap="">
 
You mean in the parameter types? </pre></blockquote> Yes.<br /><blockquote cite="mid20060109104145.GA546@alamut"
type="cite"><prewrap="">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 /> 

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

Предыдущее
От: Gustavo Lopes
Дата:
Сообщение: Re: Compiling and linking a Program interfacing with libpq.dll
Следующее
От: Murray Cumming
Дата:
Сообщение: Re: Detecting postgres servers