Re: How to write such a query - Mailing list pgsql-general

From Francisco Olarte
Subject Re: How to write such a query
Date
Msg-id CA+bJJbxk5u4pmsOAotEMWSwuCu63H6rmnjOhisWL=L94Kajbiw@mail.gmail.com
Whole thread Raw
In response to Re: How to write such a query  (Igor Korot <ikorot01@gmail.com>)
List pgsql-general
Igor:
> My problem is that I want to emulate Access behavior.
> As I said - Access does it without changing the query internally (I presume).
> I want to do the same with PostgreSQL.

Use access connected to Postgres.

> I'm just trying to understand how to make it work for any query
> I can have 3,4,5 tables, query them and then update the Nth record in the resulting recordset.
> Access does it, PowerBuilder does it.

Now, jokes aside. Access, Powerbuilder are applications used to edit
databases ( among other things ).
Postgres is a database server which provides databases.

> I just want to understand how.

If you want to do the same thing in your app, they normally pull the
result of a query which some columns uniquely identifying the row, or
use a cursor and use the "WHERE CURRENT OFF" positioning. But YOUR APP
does it, postgres does no do it.

When Access does it the database is in postgres, or swl server, or
jet, or whatever. Access is not a database, in the sense postgres it.
Jet is.

Francisco Olarte.



pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: How to write such a query
Next
From: Bruce Momjian
Date:
Subject: Re: Can I get some PostgreSQL developer feedback on these five general issues I have with PostgreSQL and its ecosystem?