Fwd: [GENERAL] Novice Question - Mailing list pgsql-novice

From Sean Davis
Subject Fwd: [GENERAL] Novice Question
Date
Msg-id 58a77131a4cb9fed43b67adeb91f598e@mail.nih.gov
Whole thread Raw
List pgsql-novice

Begin forwarded message:

> From: Sean Davis <sdavis2@mail.nih.gov>
> Date: March 1, 2005 4:40:56 PM EST
> To: Michael Romagnoli <michael@houseind.com>
> Subject: Re: [GENERAL] Novice Question

> On newer versions of pg, I think you can use pg_dump.  Check the docs
> for the details....
>
> http://www.postgresql.org/docs/current/static/backup.html
>
> Sean
>
> On Mar 1, 2005, at 4:36 PM, Michael Romagnoli wrote:
>
>> Sean Davis wrote:
>>
>>>
>>> On Mar 1, 2005, at 4:23 PM, Michael Romagnoli wrote:
>>>
>>>>
>>>> I am new to postgresql, having previously worked with mysql mostly.
>>>>
>>>> What kind of command would I run if I wanted to copy an entire
>>>> table (along with renaming it, and, of course, all data from the
>>>> first table - some of which is binary)?
>>>>
>>>> Thanks,
>>>>
>>>> -Mike
>>>>
>>>> ---------------------------(end of
>>>> broadcast)---------------------------
>>>> TIP 3: if posting/reading through Usenet, please send an appropriate
>>>>      subscribe-nomail command to majordomo@postgresql.org so that
>>>> your
>>>>      message can get through to the mailing list cleanly
>>>
>>>
>>> select * into table new_table from old_table;
>>>
>>> That's it.
>>
>>
>> Thanks - and I apologize, but I put in the wrong reference, I meant
>> databases, not tables.  And the data from the databases have binary
>> data in them.
>>
>> :\
>>
>> Thanks for your help,
>>
>> Mike


pgsql-novice by date:

Previous
From:
Date:
Subject: difference between varchar and varchar[] in pgadmin3 (and maybe postgres, too)
Next
From: Frank Bax
Date:
Subject: Re: Form Design Advice