Re: i am getting error when i am using copy command

Поиск
Список
Период
Сортировка
От gourish singbal
Тема Re: i am getting error when i am using copy command
Дата
Msg-id 051201c66e77$62eef970$6d0110ac@gourish
обсуждение исходный текст
Ответ на i am getting error when i am using copy command  ("Penchalaiah P." <penchalaiahp@infics.com>)
Список pgsql-sql
 
Penchal,
 
 
Is /tmp folder present and is the postgres user having read/write file permissions in /tmp folder.
I was successfully able to copy a table to a file in /tmp folder on my machine .
 
Regards,
Gourish Singbal
Software Engineer
ZEDO Inc - Customer-Fit Ad Serving Worldwide.
gourish@ZEDO.com
----- Original Message -----
Sent: Wednesday, May 03, 2006 11:01 AM
Subject: [SQL] i am getting error when i am using copy command

Hi ..

 

1)       I created one table

2)     Create table penchal(id integer, name varchar(12),age integer);

3)       Then I inserted some values into this table………

4)     Insert into penchal values(1,’reddy’,2);

5)       Select * from penchal ; I used this statement to display the values in a table

6)       Finaly I want to use copy ….

7)       But I am getting error when I am using this copy statement

 

Copy penchal to ‘/tmp/penchal.out’

When I am using this statement I am getting error is :   could not open file ‘/tmp/penchal.out’  for writing: no such file or directory..

 

 May I know y I am getting this error…….. pls any one can help me for this..

Thanks  &  Regards

Penchal reddy | Software Engineer           

Infinite Computer Solutions | Exciting Times…Infinite Possibilities...

SEI-CMMI level 5 | ISO 9001:2000

IT SERVICES | BPO                                                                                                                                                                          

Telecom | Finance | Healthcare | Manufacturing | Energy & Utilities | Retail & Distribution | Government                                                       

Tel +91-80-4133-0000(Ext:503)| Fax  +91-80-51930009 | Cell No  +91-9886774209|www.infics.com          

Information transmitted by this e-mail is proprietary to Infinite Computer Solutions and/ or its Customers and is intended for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please notify us immediately at info.in@infics.com and delete this mail from your records.

 

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

Предыдущее
От: Miroslav Šulc
Дата:
Сообщение: Re: Most efficient way to hard-sort records
Следующее
От: "gourish singbal"
Дата:
Сообщение: Fw: i am getting error when i am using copy command