Re: PostgreSQL on testing

2005-09-28 Thread Martín Marqués
El Mié 28 Sep 2005 10:29, Jim Buttafuoco escribió:
> what does table/view hijo look like

It doesn't matter to much, as it happens with other tables, and even other DB. 
What ever, this it hijo:

prueba=> \d hijo
   Tabla «public.hijo»
 Columna | Tipo  | Modificadores
-+---+---
 id  | integer   | not null default 
nextval('public.padre_id_seq'::text)
 c1  | character varying(20) | not null
 c2  | character varying(40) |
Hereda: padre

prueba=> \dt
   Listado de relaciones
 Schema |  Nombre  | Tipo  | Dueño
+--+---+
 public | hijo | tabla | martin
 public | horas| tabla | martin
 public | padre| tabla | martin
 public | pruebita | tabla | martin
(4 filas)

prueba=> \d horas
   Tabla «public.horas»
 Columna |  Tipo  | Modificadores
-++---
 id  | integer| not null default 
nextval('public.horas_id_seq'::text)
 hora| time without time zone |

prueba=> CREATE VIEW prueba AS
prueba-> SELECT hora FROM horas;
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
La conexión al servidor se ha perdido. Intentando reiniciar: falló.


-- 
 10:31:39 up 11 days, 15:48,  2 users,  load average: 1.39, 1.45, 1.32
-
Lic. Martín Marqués |   SELECT 'mmarques' || 
Centro de Telemática|   '@' || 'unl.edu.ar';
Universidad Nacional|   DBA, Programador, 
del Litoral |   Administrador
-



Re: PostgreSQL on testing

2005-09-28 Thread Jim Buttafuoco

what does table/view hijo look like

-- Original Message ---
From: Martín Marqués 
To: [EMAIL PROTECTED]
Cc: debian-sparc@lists.debian.org
Sent: Wed, 28 Sep 2005 09:47:27 -0300
Subject: Re: PostgreSQL on testing

> El Mié 28 Sep 2005 09:41, Jim Buttafuoco escribió:
> > works fine here, can you provide the commands you are executing and the
> > error message
> 
> Here's the BUG report:
> 
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=330296
> 
> And more info:
> 
> ii  postgresql-8.0  8.0.3-15
> object-relational SQL database, version 8.0 server
> 
> prueba=> CREATE VIEW pruvista AS
> prueba-> SELECT c1,c2 FROM hijo;
> server closed the connection unexpectedly
> This probably means the server terminated abnormally
> before or while processing the request.
> La conexión al servidor se ha perdido. Intentando reiniciar: falló.
> !>
> 
> From the logs:
> 
> <2005-09-28 09:12:57 ART>LOG:  sentencia: CREATE VIEW pruvista AS
> SELECT c1,c2 FROM hijo;
> <>LOG:  proceso de servidor (PID 15207) fue terminado por una señal 10
> <>LOG:  terminando todos los otros procesos de servidor activos
> <>LOG:  todos los procesos fueron terminados; reinicializando
> <2005-09-28 09:46:54 ART>LOG:  conexión recibida: host=[local] port=
> <2005-09-28 09:46:54 ART>FATAL:  el sistema de base de datos está iniciándose
> <>LOG:  el sistema de bases de datos fue interrumpido en 2005-09-28 09:12:54 
> ART
> <>LOG:  el registro de checkpoint está en 0/EDE7B90
> <>LOG:  registro de redo en 0/EDE7B90; registro de undo en 0/0; apagado TRUE
> <>LOG:  siguiente ID de transacción: 327692; siguiente OID: 814168
> <>LOG:  el sistema de bases de datos no fue apagado apropiadamente; se está 
> efectuando la recuperación automática
> <>LOG:  redo comienza en 0/EDE7BD0
> <>LOG:  la dirección de página 0/8DF8000 en el archivo de registro 0, 
> segmento 
> 14, posición 14647296 es inesperada
> <>LOG:  redo listo en 0/EDF5F90
> <>LOG:  el sistema de bases de datos está listo
> 
> -- 
>  09:40:49 up 11 days, 14:58,  2 users,  load average: 1.86, 1.64, 1.56
> -
> Lic. Martín Marqués |   SELECT 'mmarques' || 
> Centro de Telemática|   '@' || 'unl.edu.ar';
> Universidad Nacional|   DBA, Programador, 
> del Litoral |   Administrador
> -
--- End of Original Message ---


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: PostgreSQL on testing

2005-09-28 Thread Martín Marqués
El Mié 28 Sep 2005 09:41, Jim Buttafuoco escribió:
> works fine here, can you provide the commands you are executing and the
> error message

Here's the BUG report:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=330296

And more info:

ii  postgresql-8.0  8.0.3-15
object-relational SQL database, version 8.0 server

prueba=> CREATE VIEW pruvista AS
prueba-> SELECT c1,c2 FROM hijo;
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
La conexión al servidor se ha perdido. Intentando reiniciar: falló.
!>

From the logs:

<2005-09-28 09:12:57 ART>LOG:  sentencia: CREATE VIEW pruvista AS
SELECT c1,c2 FROM hijo;
<>LOG:  proceso de servidor (PID 15207) fue terminado por una señal 10
<>LOG:  terminando todos los otros procesos de servidor activos
<>LOG:  todos los procesos fueron terminados; reinicializando
<2005-09-28 09:46:54 ART>LOG:  conexión recibida: host=[local] port=
<2005-09-28 09:46:54 ART>FATAL:  el sistema de base de datos está iniciándose
<>LOG:  el sistema de bases de datos fue interrumpido en 2005-09-28 09:12:54 
ART
<>LOG:  el registro de checkpoint está en 0/EDE7B90
<>LOG:  registro de redo en 0/EDE7B90; registro de undo en 0/0; apagado TRUE
<>LOG:  siguiente ID de transacción: 327692; siguiente OID: 814168
<>LOG:  el sistema de bases de datos no fue apagado apropiadamente; se está 
efectuando la recuperación automática
<>LOG:  redo comienza en 0/EDE7BD0
<>LOG:  la dirección de página 0/8DF8000 en el archivo de registro 0, segmento 
14, posición 14647296 es inesperada
<>LOG:  redo listo en 0/EDF5F90
<>LOG:  el sistema de bases de datos está listo

-- 
 09:40:49 up 11 days, 14:58,  2 users,  load average: 1.86, 1.64, 1.56
-
Lic. Martín Marqués |   SELECT 'mmarques' || 
Centro de Telemática|   '@' || 'unl.edu.ar';
Universidad Nacional|   DBA, Programador, 
del Litoral |   Administrador
-



Re: PostgreSQL on testing

2005-09-28 Thread Jim Buttafuoco

works fine here, can you provide the commands you are executing and the error 
message

-- Original Message ---
From: Martín Marqués 
To: debian-sparc@lists.debian.org
Sent: Wed, 28 Sep 2005 09:20:21 -0300
Subject: PostgreSQL on testing

> Is someone using the latest PostgreSQL download from testing? I'm 
> experiencing 
> trouble creating views. I filed in a BUG report on the subject, but haven't 
> had any feed back yet, so I wanted to know if someone else is having the same 
> problem.
> 
> -- 
>  09:18:44 up 11 days, 14:35,  2 users,  load average: 1.95, 1.69, 1.51
> -
> Lic. Martín Marqués |   SELECT 'mmarques' || 
> Centro de Telemática|   '@' || 'unl.edu.ar';
> Universidad Nacional|   DBA, Programador, 
> del Litoral |   Administrador
> -
--- End of Original Message ---


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



PostgreSQL on testing

2005-09-28 Thread Martín Marqués
Is someone using the latest PostgreSQL download from testing? I'm experiencing 
trouble creating views. I filed in a BUG report on the subject, but haven't 
had any feed back yet, so I wanted to know if someone else is having the same 
problem.

-- 
 09:18:44 up 11 days, 14:35,  2 users,  load average: 1.95, 1.69, 1.51
-
Lic. Martín Marqués |   SELECT 'mmarques' || 
Centro de Telemática|   '@' || 'unl.edu.ar';
Universidad Nacional|   DBA, Programador, 
del Litoral |   Administrador
-