[DB-SIG] Which db mapping tool?

Federico Di Gregorio fog@initd.org
16 Jul 2002 14:22:20 +0200


--=-H8vFGkCv6s0rQ+Rdq16S
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable

Il mar, 2002-07-16 alle 14:10, Gerhard H=E4ring ha scritto:
> * Federico Di Gregorio <fog@initd.org> [2002-07-16 13:38 +0200]:
> > Il mar, 2002-07-16 alle 13:03, Gerhard H=E4ring ha scritto:
> > > * Federico Di Gregorio <fog@initd.org> [2002-07-16 12:09 +0200]:
> > > > psycopg 1.0.9 has lastoid(), 1.1 series lastrowid()
> > >=20
> > > The 1.1 name is perhaps slightly misleading, as it still returns the
> > > OID.
> >=20
> > erm. what do you mean by ROWID?=20
>=20
> create table test (id serial, name varchar(20));
> insert into test(name) values ('foobar');
>=20
> By ROWID, I mean the value the serial primary key gets in that row. If
> the 'rowid' term has a different specific meaning, I wasn't aware of it.

imo, rowid _has_ a different meaning. if you have two serials or more to
which does rowid refers? and if you don't have *any* serial? rowid
should identify unambiguously (does such a word even exists in english?)
a row and the oid does exactly that.

--=20
Federico Di Gregorio
Debian GNU/Linux Developer & Italian Press Contact        fog@debian.org
INIT.D Developer                                           fog@initd.org
                           Don't dream it. Be it. -- Dr. Frank'n'further

--=-H8vFGkCv6s0rQ+Rdq16S
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQA9NA/8vcCgrgZGjesRAvbWAJ45bMuZ/AGVRSSuXkpO3zG6QFJ11wCfWJLs
dhDyv3ZQBBKnXoNzR0/ZKmY=
=3A9O
-----END PGP SIGNATURE-----

--=-H8vFGkCv6s0rQ+Rdq16S--