From: | Rubén Marrero <ruben(at)internegocios(dot)com(dot)mx> |
---|---|
To: | pgsql-ayuda(at)tlali(dot)iztacala(dot)unam(dot)mx |
Subject: | [pgsql-ayuda] BUG en postgresql 6.5.3 |
Date: | 2000-06-11 03:20:19 |
Message-ID: | 39430573.F1393369@internegocios.com.mx |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
a ver si alguien lo puede reproducir:
si creas una tabla con con algun campo, que herede la estructura de
otra, no las puedes borrar m� que la que hereda primero y la "padre"
despu�( lo cual es l�ico), pero si por alguna raz� no lo haces as�
como dice la documentaci�, las quieres borrar juntas, de plano se
niega, como que la tabla "hija" se semi-desaparece de tu base de datos.
[neo(at)nostromo otp]$ psql piloto
Welcome to the POSTGRESQL interactive sql monitor:
Please read the file COPYRIGHT for copyright terms of POSTGRESQL
[PostgreSQL 6.5.3 on i686-pc-linux-gnu, compiled by gcc egcs-2.91.66]
type \? for help on slash commands
type \q to quit
type \g or terminate with semicolon to execute query
You are currently connected to the database: piloto
piloto=> create table a(uno int2, dos int2);
CREATE
piloto=> create table b(tres int2)inherits(a);
CREATE
piloto=> drop table a,b;
ERROR: Relation '95388' inherits 'a'
piloto=> drop table a;
ERROR: Relation '95388' inherits 'a'
piloto=> drop table b,a;
ERROR: Relation '95388' inherits 'a'
piloto=> drop table b;
ERROR: mdopen: couldn't open b: No existe el fichero o el directorio
piloto=> \d
Database = piloto
+------------------+----------------------------------+----------+
| Owner | Relation | Type |
+------------------+----------------------------------+----------+
| neo | a | table |
| neo | b | table |
+------------------+----------------------------------+----------+
piloto=> insert into b(uno) values(123);
ERROR: mdopen: couldn't open b: No existe el fichero o el directorio
Saludos..
--
\||/
| -___oo
/\ /\ / (__,,,,|
) /^\) ^\/ _)
) /^\/ _) J. Ruben Marrero V.
) _ / / _)
/\ )/\/ || | )_) ruben(at)internegocios(dot)com(dot)mx
< > |(,,) )__)
|| / \)___)\
| \____( )___) )
\______(_______;;; __;;;
--------- Pie de mensaje -------------------------------------------
Archivo historico: http://tlali.iztacala.unam.mx/maillist/pgsql-ayuda
Cancelar inscripcion:
mail to: majordomo(at)tlali(dot)iztacala(dot)unam(dot)mx
text : unsubscribe pgsql-ayuda
From | Date | Subject | |
---|---|---|---|
Next Message | Estrella Dominguez | 2000-06-12 15:49:07 | Re: [pgsql-ayuda] [GENERAL] PostgreSQL 7.0.2-1 RPMset available. (fwd) |
Previous Message | Roberto Leal Guerra | 2000-06-11 01:36:34 | [pgsql-ayuda] Upgrade dePostgresql |