dbTalk Databases Forums  

images and postgreSQL

comp.databases.postgresql.novice comp.databases.postgresql.novice


Discuss images and postgreSQL in the comp.databases.postgresql.novice forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Sun H Chi
 
Posts: n/a

Default images and postgreSQL - 09-13-2004 , 04:29 PM






Hi,

I have a customer who would like to extract all their data from one system and dump into another. Not too difficult except for the images. The images are housed on another server and separately maintained through a postgresql database. I believe there should be a unique image id that links the images on the postgresql database to the primary application database. Unfortunately my knowledge of this postgresql is minimal at best and I need to know how to go about extracting the relevant data. From the look of things on the image server, each image is stored on the filesystem rather than in the database itself. So I'm probably just looking for a table that stores the image ID and its directory path. Once I find that table, is there a quick way to extract the information?

Any additional information on how you would approach this would be very helpful.

Thanks

S.













Reply With Quote
  #2  
Old   
Aarni Ruuhimäki
 
Posts: n/a

Default Re: images and postgreSQL - 09-14-2004 , 01:03 AM






Hi,

From psql

database=# COPY table TO '/path/file.txt' USING DELIMITERS '|';

And then view or import to an other application (excel, access ...)?

BR,

Aarni

On Tuesday 14 September 2004 00:29, you wrote:
Quote:
Hi,

I have a customer who would like to extract all their data from one system
and dump into another. Not too difficult except for the images. The
images are housed on another server and separately maintained through a
postgresql database. I believe there should be a unique image id that
links the images on the postgresql database to the primary application
database. Unfortunately my knowledge of this postgresql is minimal at best
and I need to know how to go about extracting the relevant data. From the
look of things on the image server, each image is stored on the filesystem
rather than in the database itself. So I'm probably just looking for a
table that stores the image ID and its directory path. Once I find that
table, is there a quick way to extract the information?

Any additional information on how you would approach this would be very
helpful.

Thanks

S.
--
-------------------------------------------------
Aarni Ruuhimäki | Megative Tmi | KYMI.com |
Pääsintie 26 | 45100 Kouvola | FINLAND |

This is a bugfree broadcast to you from a linux system.

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.