From: Tom Lane <tgl@sss.pgh.pa.us>
To: arnaud.listes@codata.eu
Cc: pgsql-odbc@postgresql.org, pgsql-general <pgsql-general@postgresql.org>
Subject: Re: 'default nextval()' loses schema-qualification in dump ?
Date: Tue, 06 Jul 2010 11:17:38 -0400
Message-ID: <28564.1278429458@sss.pgh.pa.us> (raw)
In-Reply-To: <4C334593.7030300@codata.eu>
References: <4C32FF36.8030604@codata.eu>
<27289.1278426134@sss.pgh.pa.us>
<4C334593.7030300@codata.eu>
Arnaud Lesauvage <arnaud.listes@codata.eu> writes:
> As you have understood, I am not very savvy about postgresql's
> internals, but from what you say my guess is that the problem is int the
> psqlODBC is getting the default value of the sequence ?
I have no idea, because you haven't showed us what's happening, only
your oversimplified description of what's happening. We really need to
see the exact SQL used to define the table (copy that from your dump,
perhaps) as well as the exact SQL used in the misbehaving insert
commands.
regards, tom lane
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: tgl@sss.pgh.pa.us, arnaud.listes@codata.eu, pgsql-general@postgresql.org
Subject: Re: 'default nextval()' loses schema-qualification in dump ?
In-Reply-To: <28564.1278429458@sss.pgh.pa.us>
References: <4C32FF36.8030604@codata.eu> <27289.1278426134@sss.pgh.pa.us> <4C334593.7030300@codata.eu> <28564.1278429458@sss.pgh.pa.us>
* 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