[C API] Is there a nice way to get table/column name on some error ?

From: JiangWei <jw(dot)pgsql(at)sduept(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: [C API] Is there a nice way to get table/column name on some error ?
Date: 2006-01-06 01:32:36
Message-ID: 43BDC8B4.6020801@sduept.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<table class="CALSTABLE" border="1">
<tbody>
<tr>
<td>42703</td>
<td>UNDEFINED COLUMN</td>
<td>undefined_column</td>
</tr>
<tr>
<td>42883</td>
<td>UNDEFINED FUNCTION</td>
<td>undefined_function</td>
</tr>
<tr>
<td>42P01</td>
<td>UNDEFINED TABLE</td>
<td>undefined_table</td>
</tr>
</tbody>
</table>
<br>
I want to know which column undefined when "undefined_column" Happen at
run time.<br>
<br>
<br>
<br>
<br>
</body>
</html>

Attachment Content-Type Size
unknown_filename text/html 722 bytes

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Michael Fuhr 2006-01-06 02:11:49 Re: [C API] Is there a nice way to get table/column name on some error ?
Previous Message JiangWei 2006-01-06 01:16:31 HOWTO pass "default value" to PQexecParams ?