[postgis-users] oid field

Emilia Venturato venturato at faunalia.it
Tue Jun 20 07:38:03 PDT 2006


Alle 14:09, martedì 20 giugno 2006, Ezequias Rodrigues da Rocha ha 
probabilmente scritto:
> Aaron,
>
> When you tell new versions you mean 8.1 ?
>
> Another question, why this field does not appears in a "\d" command ?
> and how to generate this field if my application does not generated it ?
>
>
>
> Regards
>
>

If you need oids just in some table you can create tables with:

CREATE TABLE table_name  WITH OIDS;

If you want instead set oids as default, you can do that in the file:
/etc/postgresql/8.1/main/postgresql.conf

# VERSION/PLATFORM COMPATIBILITY
#---------------------------------------------------------------------------
[...]
default_with_oids = true

bye,

Lia

-- 
Emilia Venturato
email+jabber: venturato at faunalia.it
www.faunalia.it
Tel: (+39) 347-2770007 Tel+Fax: (+39) 0587-213742
Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy



More information about the postgis-users mailing list