Re: [PHP] [ADMIN] Data insert

2005-08-22 Thread Jim C. Nasby
On Sun, Aug 21, 2005 at 06:35:22AM +0100, Aldor wrote: > if you want to insert biiig data volumes try either using COPY instead > of INSERT - it will run much much faster And if for some reason you have to stick with inserts, group them into transactions; it will perform much better than individu

Re: [ADMIN] Data insert

2005-08-20 Thread Aldor
1st --- if you use php you can use the function: "pg_escape_bytea()" when you want to retrieve the data from db you have to use: "pg_unescape_bytea()" for unescaping it see the php documentation on this function for more information 2nd --- if you want to insert biiig data volumes try eith

Re: [ADMIN] Data insert

2005-08-20 Thread Aldor
if you use php you can use the function: pg_escape_bytea() when you want to retrieve the data from db you have to use: pg_unescape_bytea() for unescaping it see the php documentation on this function for more information Michael Fuhr wrote: On Sat, Aug 20, 2005 at 01:17:55PM -0400, Postgres

Re: [ADMIN] Data insert

2005-08-20 Thread Michael Fuhr
On Sat, Aug 20, 2005 at 01:17:55PM -0400, Postgres Admin wrote: > I don't have any idea how to insert the type of data into PostgreSQL. > Basically, it's encrypted data in which I would like that keep raw format. If the data is binary then you could store it in a BYTEA column. How to get such da

[ADMIN] Data insert

2005-08-20 Thread Postgres Admin
Sorry for the attachment, but copying and pasting this data does not work. I don't have any idea how to insert the type of data into PostgreSQL. Basically, it's encrypted data in which I would like that keep raw format. Thanks for any help, J sample_data.pdf Description: Adobe PDF document --