Re: ambiguous sql states
От
Dave Cramer
Тема
Re: ambiguous sql states
Дата
Msg-id
1061679057.2211.101.camel@localhost.localdomain
Ответ на
Re: ambiguous sql states (Peter Eisentraut)
Список
Дерево обсуждения
Header files installed for contrib modules? Robert Creager <Robert_Creager@LogicalChaos.org>
Re: Header files installed for contrib modules? Peter Eisentraut <peter_e@gmx.net>
ambiguous sql states Dave Cramer <dave@fastcrypt.com>
Re: ambiguous sql states Peter Eisentraut <peter_e@gmx.net>
Re: ambiguous sql states Dave Cramer <dave@fastcrypt.com>
Re: ambiguous sql states Tom Lane <tgl@sss.pgh.pa.us>
Re: ambiguous sql states Dave Cramer <dave@fastcrypt.com>
Re: ambiguous sql states Peter Eisentraut <peter_e@gmx.net>
Re: ambiguous sql states Tom Lane <tgl@sss.pgh.pa.us>
Re: Header files installed for contrib modules? Robert Creager <Robert_Creager@LogicalChaos.org>
Re: Header files installed for contrib modules? Peter Eisentraut <peter_e@gmx.net>
Specifically, if you try to open a file for copy, and it isn't there it
will return
int
errcode_for_file_access(void)
{
case ENOENT: /* No such file or
directory */ edata->sqlerrcode = ERRCODE_UNDEFINED_OBJECT; break;
Dave
On Sat, 2003-08-23 at 15:42, Peter Eisentraut wrote:
> Dave Cramer writes:
>
> > I'm working on identifying various errors in ecpg using sql state and
> > one which is particularly ambiguous is ERRCODE_UNDEFINED_OBJECT for a
> > file which isn't found. This is returned in a number of places. Is it
> > possible to get a set of file specific error codes?
>
> That error code if for undefined objects, not files that can't be found.
> Can you identify the cases you are concerned about?
--
Dave Cramer
fastcrypt
В списке pgsql-hackers по дате отправления