Re: Weird problem with script...

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Weird problem with script...
Дата
Msg-id 019501c0756f$05881d40$1001a8c0@archonet.com
обсуждение исходный текст
Ответ на Weird problem with script...  (jkakar@expressus.com)
Список pgsql-sql
----- Original Message -----
From: "Tom Lane" <tgl@sss.pgh.pa.us>
To: <jkakar@expressus.com>
Cc: <pgsql-sql@postgresql.org>
Sent: Wednesday, January 03, 2001 1:02 AM
Subject: Re: [SQL] Weird problem with script...


> jkakar@expressus.com writes:
> > I'm building a script to create the tables in my database.  Everything
> > works fine except one thing with this part of my script:
>
> > create table tbl_resume_free_text_type (
> > type_id int,
> >        type text
> > );
>
> > -- insert into tbl_resume_free_text_type (type_id, type) values (1,
'Hobbies');
> > -- insert into tbl_resume_free_text_type (type_id, type) values (2,
'Special Talents');
>
> > If I uncomment the two insert statements I get an error message
> > stating that tbl_resume_free_text_type doesn't exist.
>
> Odd.  The three statements work just fine for me when executed by hand
> in 7.0.3.  Anyone else able to reproduce a problem?
>
> regards, tom lane

Works fine on 7.0.0 putting them in a text file and doing psql < filename

Jamu - how are you executing this?

- Richard



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

Предыдущее
От: Sangeeta Bhatnagar
Дата:
Сообщение: ...
Следующее
От: juerg.rietmann@pup.ch
Дата:
Сообщение: how to build this query ??? Please help !!!