Re: sql window issues

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: sql window issues
Дата
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4011C9B69@ratbert.vale-housing.co.uk
обсуждение исходный текст
Ответ на sql window issues  (Antoine <melser.anton@gmail.com>)
Ответы Re: sql window issues  (Antoine <melser.anton@gmail.com>)
Список pgadmin-support

> -----Original Message-----
> From: Antoine [mailto:melser.anton@gmail.com]
> Sent: 07 April 2006 19:21
> To: Dave Page
> Subject: Re: [pgadmin-support] sql window issues
>
> > What does: La requête a inséré une ligne d'OID 0. mean?
>
> It means "The query inserted a line (row) with OID 0"
>
> We have this on (at least) several win 2000 pro machines. We
> are running postgres 8.1.1 on an mdk 10.1 but I can't see how
> that would make any difference...
> btw, a number of these queries I run with the analyse button,
> as I like to check what is going to happen beforehand. They
> give me an error so I don't bother executing...
> Any pointers welcome.
> Cheers
> Antoine
> ps. we have been running 1.4.1 for some time now but same
> deal when I upgraded to 1.4.2.

Well the error comes from PostgreSQL, not pgAdmin - and now you mention you are using EXPLAIN ANALYZE it all makes
sense.EXPLAINing a CREATE TABLE is pointless and unsupported by PostgreSQL. You will get the same error from psql. 

If you want to test one or more queries before executing them for real, try something like:

BEGIN;

CREATE TABLE etape
( n_etp_code numeric(6) NOT NULL, -- identifiant de la table t_etp_intitule varchar(50), -- nom en clair de l'étape
CONSTRAINTpk_etape PRIMARY KEY (n_etp_code) 
)
WITHOUT OIDS;
ALTER TABLE etape OWNER TO "PRODUCTION";

ROLLBACK;

Then when you're happy, just change the ROLLBACK to COMMIT.

Regards, Dave.


В списке pgadmin-support по дате отправления:

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: sql window issues
Следующее
От: Antoine
Дата:
Сообщение: Re: sql window issues