Re: Roadmap for FE/BE protocol redesign

From: Emmanuel Charpentier <charpent(at)bacbuc(dot)dyndns(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Roadmap for FE/BE protocol redesign
Date: 2003-03-15 08:27:13
Message-ID: b4uo54$1q15$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces

Justin Clift wrote:

[ ... ]

> The problem Dave is suggesting this as a first attempt at a solution for
> is that with ODBC, a frontend (i.e. OpenOffice) asks the ODBC driver
> which columns are NULLable, etc. And the ODBC driver is getting the
> info wrong, then passing back the incorrect info.

And that's probably why OpenOffice doesn't allow you to update a view,
event if there are rules allowing this from psql ...

This, in my book is an EPITA for end users ...

> So, when a person goes to insert a row into a table with a
> SERIAL/SEQUENCE based column, OpenOffice has been told the column isn't
> NULLable and forces the user to enter a value. Voila, it doesn't work
> with sequences. :(
>
> It's likely possible to add to the ODBC driver some way of getting the
> info right, but Dave is also looking for a way of making this easier
> into the future for similar problems. i.e. Let the database explicitly
> have info about what each column can do.

I'd second that, even if it takes time ...

Emmanuel Charpentier

--
Emmanuel Charpentier

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruno Wolff III 2003-03-15 15:23:28 Re: No index maximum? (was Re: No merge sort?)
Previous Message Tom Lane 2003-03-15 04:48:10 Re: [INTERFACES] Upgrading the backend's error-message infrastructure

Browse pgsql-interfaces by date

  From Date Subject
Next Message Agrawal, Manish 2003-03-15 16:45:38 Visual query designer
Previous Message Tom Lane 2003-03-15 04:48:10 Re: [INTERFACES] Upgrading the backend's error-message infrastructure