Re: [GENERAL] Performance check using COPY commands

2005-02-21 Thread Nageshwar Rao
I am trying to load some 5000 records now. It is still running for past 15 minutes, but when I check the table still I do not see records .And there is no status as how many records are inserted. Just left it like that .Also there are couple of issues. I have timestamp columns. In the excel

Re: [GENERAL] Method of building views

2005-02-21 Thread Bruno Wolff III
On Sat, Feb 19, 2005 at 13:30:49 -, Richard Crawley <[EMAIL PROTECTED]> wrote: > > I suppose what I'm doing is building some quite large, complicated views. > Now, thus far I haven't had much choice, and the temp tables do help > debugging. But this approach doesn't allow the dbase any opt

[GENERAL] Performance check using COPY commands

2005-02-21 Thread sid tow
Hi All,   I have a problem in updating a table using copy commands. To brief you about the table, the table has 6 columns in which it has one column for a sequence number which increments by one on each entry. There is a constraint check for one of the columns. I am copying data in all the 6 c

Re: [GENERAL] ADO and timestamp/date errors

2005-02-21 Thread Shachar Shemesh
Craig Bryden wrote: Hi I am trying to read a data set in ADO. If I exclude a timestamp field that I have in the return type, all works wonderfully. The moment I include the timestamp (i've even tried casting it as date) it bombs out with an OLEDB Exception of some type. Try reading the text of t

Re: [GENERAL] Shared Memory and Mac OS X

2005-02-21 Thread Tom Lane
Jerry LeVan <[EMAIL PROTECTED]> writes: > There have been some recent discussions on Shared Memory problems > in Darwin on the darwin-kernel list at lists.apple.com. > The subject is : shm_open and mmap: Invalid argument? > Tain't clear to me if this is relevant to the MacOS X and > Postgresql sh

Re: [GENERAL] tables & retrieving their names

2005-02-21 Thread Michael Fuhr
On Mon, Feb 21, 2005 at 03:45:42PM -0800, Mohsen Pahlevanzadeh wrote: > 2.How i see name of my tables in shell? > 3.How i see name of my DBs in shell? See the psql documentation: http://www.postgresql.org/docs/8.0/static/app-psql.html See also "System Catalogs" and "The Information Schema": ht

Re: [GENERAL] Postgresql and Delphi for windows

2005-02-21 Thread Klint Gore
On Mon, 21 Feb 2005 15:42:15 -0800 (PST), Alonso "García" <[EMAIL PROTECTED]> wrote: > !Hi list¡: > Does anybody have information about the use of > delphi and Postgresql? > I have installed the version 8.0 of Postgresql and > Delphi 7 entreprise. You have a few choices zeos library odbc

[GENERAL] tables & retrieving their names

2005-02-21 Thread Mohsen Pahlevanzadeh
Dears,I'm newbie in pgsql. I have a few question: 1.I need to use command of MySQL in pgsql. 2.How i see name of my tables in shell? 3.How i see name of my DBs in shell? 4.How i retrieve tables's name in C? 5.How i retrieve DBs's name in C? Yours,Mohsen. ---(end of broadca

[GENERAL] Postgresql and Delphi for windows

2005-02-21 Thread García
!Hi list¡: Does anybody have information about the use of delphi and Postgresql? I have installed the version 8.0 of Postgresql and Delphi 7 entreprise. And, do you have information about MySQL an Postgresql (a comparision)?. THANK YOU. __ Do Yo

Re: [GENERAL] ADO and timestamp/date errors

2005-02-21 Thread Jonel Rienton
any sample code? regards, - Jonel Rienton http://blogs.road14.com Software Developer, *nix Advocate On Feb 21, 2005, at 2:05 PM, Craig Bryden wrote: Hi I am trying to read a data set in ADO. If I exclude a timestamp field that I have in the return type, all works wonderfully. The moment I incl

Re: [GENERAL] PostgreSQL 8 install fails (initdb)

2005-02-21 Thread koester
Hello Tom, Monday, February 21, 2005, 4:27:42 PM, you wrote: >> initdb fails with the following informations: >> copying template1 to template0 ... cp: >> /usr/local/pgsql/data/base/1/16384: Invalid argument .. >> FATAL: could not initialize database directory >> initdb: removing data directory

Re: [GENERAL] Scalability with large numbers of tables

2005-02-21 Thread Tom Lane
"Greg Sabino Mullane" <[EMAIL PROTECTED]> writes: > Christopher Browne replied: >> If you've got tens of thousands of relations, the tab completion code >> has to draw the whole list of relations from pg_class into memory and >> "marshal" it into a form usable by GNU Readline. > Well, it's actuall

Re: [GENERAL] libpq & its header files

2005-02-21 Thread Michael Fuhr
On Mon, Feb 21, 2005 at 01:27:58PM -0800, Mohsen Pahlevanzadeh wrote: > Dears,I have started to working with libpq.But i don't know name of its > header files.Please guide me. See the libpq documentation for the version of PostgreSQL you're using. Here's a link to the most recent version: h

[GENERAL] libpq & its header files

2005-02-21 Thread Mohsen Pahlevanzadeh
Dears,I have started to working with libpq.But i don't know name of its header files.Please guide me. Yours,Mohsen. ---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings

Re: [GENERAL] Postgresql 8.0 [Windows]

2005-02-21 Thread John DeSoi
On Feb 21, 2005, at 3:02 PM, Hrishikesh Deshmukh wrote: I am a newbie to postgresql, i download the windows version and installed it successfully. I have a posgres dump file from a linux box, i want to read in this file on my windows box. How does one do it. The exact method depends on the format o

[GENERAL] ADO and timestamp/date errors

2005-02-21 Thread Craig Bryden
Hi I am trying to read a data set in ADO. If I exclude a timestamp field that I have in the return type, all works wonderfully. The moment I include the timestamp (i've even tried casting it as date) it bombs out with an OLEDB Exception of some type. Has anyone got any ideas? Thanks Craig

[GENERAL] Postgresql 8.0 [Windows]

2005-02-21 Thread Hrishikesh Deshmukh
Hi All, I am a newbie to postgresql, i download the windows version and installed it successfully. I have a posgres dump file from a linux box, i want to read in this file on my windows box. How does one do it. Thanks in advance. Hrishi ---(end of broadcast)-

Re: [GENERAL] Triggers, again.. ;-)

2005-02-21 Thread Net Virtual Mailing Lists
>Greg wrote: > > is "DROP TRIGGER" transaction safe?... I mean, could I do: > > > > BEGIN > > DROP TRIGGER category_mv_ut; > > ... insert rows > > ... update materialized view table > > CREATE TRIGGER category_mv_ut AFTER UPDATE ON items > > FOR EACH ROW EXECUTE PROCEDURE update_ut(); > > COMMIT;

[GENERAL] Shared Memory and Mac OS X

2005-02-21 Thread Jerry LeVan
There have been some recent discussions on Shared Memory problems in Darwin on the darwin-kernel list at lists.apple.com. The subject is : shm_open and mmap: Invalid argument? Tain't clear to me if this is relevant to the MacOS X and Postgresql shared memory problem that I see mentioned here from t

Re: [GENERAL] is there anyway to get the backends IP address from the

2005-02-21 Thread Bruce Momjian
Steve Crawford wrote: > On Saturday 12 February 2005 4:09 pm, Bruce Momjian wrote: > > Added to TODO: > > > > * Add IP address to pg_stat_activity > > I like it. How about IP and port to differentiate multiple connections > from the same host? Will this support IPV6? Good point, added:

Re: [GENERAL] Scalability with large numbers of tables

2005-02-21 Thread Phil Endecott
Thanks to all who've responded to my concern about scalability with large numbers of tables. I am reasonably reassured. I don't really care about the tab-completion speed - it's just that its slowness was my "heads-up" to the fact that there could be something related to number of tables to wo

[GENERAL] ideally a non-volatile function?

2005-02-21 Thread Noel Whelan
The information on what 'volatile' indicates with a function includes the following: 'VOLATILE indicates that the function value can change even within a single table scan, so no optimizations can be made. Relatively few database functions are volatile in this sense; some examples are random(), cu

[GENERAL] ideally a non-volatile function?

2005-02-21 Thread Noel Whelan
The information on what 'volatile' indicates with a function includes the following: 'VOLATILE indicates that the function value can change even within a single table scan, so no optimizations can be made. Relatively few database functions are volatile in this sense; some examples are random(), cu

Re: [GENERAL] error while loading shared libraries: libpq.so.3

2005-02-21 Thread phil campaigne
Russell Smith wrote: On Mon, 21 Feb 2005 08:05 pm, Surabhi Ahuja wrote: it now says: i do the following make sample LDLIBRARY = /usr/local/pgsql/lib ./sample LDLIBRARY: Command not found. do you still experience problems when you run LDLIBRARY=/usr/local/pgsql/lib ./sample Note there is no

Re: [GENERAL] is there anyway to get the backends IP address from

2005-02-21 Thread Oisin Glynn
I have hit this as well though unlike Tony my errors are generally not test cases! If for example you mistype a column/variable name inside the function Postgres will create and allow the function to run as long as the path through the function containing the error is not executed. It would be

Re: [GENERAL] Problem with select statement

2005-02-21 Thread phil campaigne
Ragnar Hafstað wrote: On Sun, 2005-02-20 at 20:01 -0500, phil campaigne wrote: Hi gnari, I forgot one thing. I also need to restrict the selecct with two more qualifiers where contest_id =1 and team='Duke' I'm confused where to put it in the select statement. I tried this but it doesn't work

Re: [GENERAL] PostgreSQL 8 install fails (initdb)

2005-02-21 Thread koester
Hello Tom, thanks four your answer. >> Anything I can do? > Complain to some FreeBSD hackers? This seems like it must be a kernel > bug (or perhaps a bug in cp itself). I don't think Postgres did > anything wrong. I´ll update the machine to the lastest version, Infos follows. -- Best rega

Re: [GENERAL] Scalability with large numbers of tables

2005-02-21 Thread Greg Sabino Mullane
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Phil Endecott wrote: > For example I find that tab-completion in psql is now unusably slow ... Christopher Browne replied: > If you've got tens of thousands of relations, the tab completion code > has to draw the whole list of relations from pg_clas

Re: [GENERAL] error while loading shared libraries: libpq.so.3

2005-02-21 Thread Michael Fuhr
On Mon, Feb 21, 2005 at 02:22:20PM +0530, Surabhi Ahuja wrote: > I give the following command now to compile sample.c > gcc -o sample sample.c -I/usr/local/pgsql/include -L/usr/local/pgsql/lib > -rpath/usr/local/pgsql/lib - lpq > > it gives this message: > gcc: unrecognized option `-rpath/usr/

Re: [GENERAL] PGS 7.2 : Insert with wrong number of values did not

2005-02-21 Thread Geoffrey KRETZ
Scott Marlowe wrote: On Mon, 2005-02-21 at 09:49, Geoffrey KRETZ wrote: Scott Marlowe wrote: On Mon, 2005-02-21 at 09:38, Geoffrey KRETZ wrote: Hi, I've got a question about a difference beetween PGS 7.2 and PGS 7.4 behaviours. With PGS 7.2 : INSERT INTO table (col1, col2) VALUES (

Re: [GENERAL] PGS 7.2 : Insert with wrong number of values did not

2005-02-21 Thread Scott Marlowe
On Mon, 2005-02-21 at 09:49, Geoffrey KRETZ wrote: > Scott Marlowe wrote: > > >On Mon, 2005-02-21 at 09:38, Geoffrey KRETZ wrote: > > > > > >>Hi, > >> > >>I've got a question about a difference beetween PGS 7.2 and PGS 7.4 > >>behaviours. > >> > >>With PGS 7.2 : > >> INSERT INTO table (col1, co

Re: [GENERAL] Unix Domain Socket Error

2005-02-21 Thread Tom Lane
Jeremiah Megie <[EMAIL PROTECTED]> writes: > Warning: pg_connect(): Unable to connect to PostgreSQL server: could > not connect to server: Permission denied Is the server running locally > and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"? Check the file permissions on the socke

Re: [GENERAL] PGS 7.2 : Insert with wrong number of values did not fail

2005-02-21 Thread Tom Lane
Geoffrey KRETZ <[EMAIL PROTECTED]> writes: > I've got a question about a difference beetween PGS 7.2 and PGS 7.4 > behaviours. > With PGS 7.2 : > INSERT INTO table (col1, col2) VALUES (val1) doesn't fail > With PGS 7.4 : > INSERT INTO table (col1, col2) VALUES (val1) failed > Is it a known bu

[GENERAL] Unix Domain Socket Error

2005-02-21 Thread Jeremiah Megie
I've used postgres before numerous times, but I can't seem to correct this issue. I am using PostgreSQL 7.3.4 and Fedora Core 1. I had postgres setup and working correctly. My php scripts were interfacing with it, no problems. We then had our server re-formatted and had ensim installed. The vi

Re: [GENERAL] Deadlock and FK triggers

2005-02-21 Thread Bo Lorentsen
Magnus Hagander wrote: I know that part - I have my tickets already. I meant attendants, not speakers. Ups sorry :-) /BL ---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings

Re: [GENERAL] PGS 7.2 : Insert with wrong number of values did not

2005-02-21 Thread Geoffrey KRETZ
Geoffrey KRETZ wrote: Scott Marlowe wrote: On Mon, 2005-02-21 at 09:38, Geoffrey KRETZ wrote: Hi, I've got a question about a difference beetween PGS 7.2 and PGS 7.4 behaviours. With PGS 7.2 : INSERT INTO table (col1, col2) VALUES (val1) doesn't fail With PGS 7.4 : INSERT INTO table (col1, col

Re: [GENERAL] Deadlock and FK triggers

2005-02-21 Thread Bo Lorentsen
Magnus Hagander wrote: Speaking of which, are there any other interesting (or non-interesting) people from the community that are gonig to be there? I know I am... Please take a look for yourself : http://www.linuxforum.dk/2005/en /BL ---(end of broadcast)

Re: [GENERAL] Deadlock and FK triggers

2005-02-21 Thread Magnus Hagander
> >Speaking of which, are there any other interesting (or > non-interesting) > >people from the community that are gonig to be there? I know I am... > > > > > Please take a look for yourself : http://www.linuxforum.dk/2005/en I know that part - I have my tickets already. I meant attendants, no

Re: [GENERAL] Deadlock and FK triggers

2005-02-21 Thread Bruce Momjian
Bo Lorentsen wrote: > Bruce Momjian wrote: > > >We hope to have shared row locks in 8.1 for this usage. > > > > > Thanks, and good news, and just what I hoped for. Are there some kind af > priority orderet todo list somewhere ? Sorry, no priority because we are all volunteers, though Alvaro ha

Re: [GENERAL] Deadlock and FK triggers

2005-02-21 Thread Bruce Momjian
Csaba Nagy wrote: > [snip] > > We hope to have shared row locks in 8.1 for this usage. > > This feature is one I'm really waiting for ! Is there any estimate when > 8.1 comes out ? > I know, I know, the preferred answer is "whenever it's ready", but if > 8.1 is not that far away, and shared row l

Re: [GENERAL] PostgreSQL 8 install fails (initdb)

2005-02-21 Thread Tom Lane
[EMAIL PROTECTED] writes: > I have downloaded release 8.x for installation. Compilation and so on > works fine (FreeBSD 5.2.1) > initdb fails with the following informations: > copying template1 to template0 ... cp: /usr/local/pgsql/data/base/1/16384: > Invalid argument > cp: /usr/local/pgsql/da

Re: [GENERAL] PGS 7.2 : Insert with wrong number of values did not

2005-02-21 Thread Scott Marlowe
On Mon, 2005-02-21 at 09:38, Geoffrey KRETZ wrote: > Hi, > > I've got a question about a difference beetween PGS 7.2 and PGS 7.4 > behaviours. > > With PGS 7.2 : > INSERT INTO table (col1, col2) VALUES (val1) doesn't fail > > With PGS 7.4 : > INSERT INTO table (col1, col2) VALUES (val1) faile

Re: [GENERAL] is there anyway to get the backends IP address from

2005-02-21 Thread Bruce Momjian
Tony Caduto wrote: > Bruce, > On another note, is there plans to improve the type checking of stored > functions during the save/compile? > Currently I can pretty much make tons of mistakes (on purpose of course > :-) and they are not flagged as errors until runtime. > The biggest complaint I see

Re: [GENERAL] PGS 7.2 : Insert with wrong number of values did not

2005-02-21 Thread Geoffrey KRETZ
Scott Marlowe wrote: On Mon, 2005-02-21 at 09:38, Geoffrey KRETZ wrote: Hi, I've got a question about a difference beetween PGS 7.2 and PGS 7.4 behaviours. With PGS 7.2 : INSERT INTO table (col1, col2) VALUES (val1) doesn't fail With PGS 7.4 : INSERT INTO table (col1, col2) VALUES (val1) faile

Re: [GENERAL] Deadlock and FK triggers

2005-02-21 Thread Magnus Hagander
> >We hope to have shared row locks in 8.1 for this usage. > > > > > Thanks, and good news, and just what I hoped for. Are there > some kind af priority orderet todo list somewhere ? > > Looking forward to, see You in copenhagen af LinuxForum 2005. Speaking of which, are there any other intere

[GENERAL] PGS 7.2 : Insert with wrong number of values did not fail

2005-02-21 Thread Geoffrey KRETZ
Hi, I've got a question about a difference beetween PGS 7.2 and PGS 7.4 behaviours. With PGS 7.2 : INSERT INTO table (col1, col2) VALUES (val1) doesn't fail With PGS 7.4 : INSERT INTO table (col1, col2) VALUES (val1) failed Is it a known bug ? Thx. Geoffrey KRETZ Four J's Development Tools --

Re: [GENERAL] Deadlock and FK triggers

2005-02-21 Thread Bo Lorentsen
Bruce Momjian wrote: We hope to have shared row locks in 8.1 for this usage. Thanks, and good news, and just what I hoped for. Are there some kind af priority orderet todo list somewhere ? Looking forward to, see You in copenhagen af LinuxForum 2005. /BL ---(end of broa

Re: [GENERAL] Deadlock and FK triggers

2005-02-21 Thread Csaba Nagy
[snip] > We hope to have shared row locks in 8.1 for this usage. This feature is one I'm really waiting for ! Is there any estimate when 8.1 comes out ? I know, I know, the preferred answer is "whenever it's ready", but if 8.1 is not that far away, and shared row locking will be in it, I won't bo

Re: [GENERAL] Deadlock and FK triggers

2005-02-21 Thread Bruce Momjian
Bo Lorentsen wrote: > HI ... > > I have been using PG for a large project at my work (soon in > production), and I use PG and a lot for FK/RI checks. This works nice > when using one or two threads (cuncurrent connections), but more than > this, and I start getting deadlocks in my FK triggers.

pgsql-general@postgresql.org

2005-02-21 Thread Markus Wollny
Hi! Thanks, I'll try Slony-I next time - I currently lack the time to test it beforehand on my non-production system; I'd be a bit worried about the additional load a second PG-instance as replication slave would impose on the machine, so at the moment I'm more confident going along the same tr

Re: [GENERAL] Scalability with large numbers of tables

2005-02-21 Thread Florian G. Pflug
Christopher Browne wrote: Oops! [EMAIL PROTECTED] (Phil Endecott) was seen spray-painting on a wall: I have a single database with one schema per user. Each user has a handful of tables, but there are lots of users, so in total the database has thousands of tables. If you've got tens of thousands

pgsql-general@postgresql.org

2005-02-21 Thread Christopher Browne
You might consider using Slony-I to minimize the downtime. I haven't done an upgrade using, but know that others have, and I've done the same using eRServer... The idea is that you set up an 8.0.1 backend, and set up replication well ahead of time. Replicate from the 7.4 system to the 8.0 one.

Re: [GENERAL] Scalability with large numbers of tables

2005-02-21 Thread Christopher Browne
I'm pretty sure that slowness of tab completion has little to do with the performance of the filesystems. If you've got tens of thousands of relations, the tab completion code has to draw the whole list of relations from pg_class into memory and "marshal" it into a form usable by GNU Readline. TH

pgsql-general@postgresql.org

2005-02-21 Thread Christopher Browne
Quoth [EMAIL PROTECTED] ("Markus Wollny"): > Finally the time has come for us to upgrade our PostgreSQL > 7.4.5-servers to 8.0.1 - and though I'm very much looking forward to > some of the new features, the dump&reload process is worrying me a > bit this time. I've got one cluster in particular whi

Re: [GENERAL] Scalability with large numbers of tables

2005-02-21 Thread Christopher Browne
Oops! [EMAIL PROTECTED] (Phil Endecott) was seen spray-painting on a wall: > Dear Postgresql experts, > > I have a single database with one schema per user. Each user has a > handful of tables, but there are lots of users, so in total the > database has thousands of tables. > > I'm a bit concerned

pgsql-general@postgresql.org

2005-02-21 Thread Markus Wollny
Hi! Thanks very much, this was exactly the kind of advice I was hoping for! I'll give the WAL to ramdisk thing a try; fsync is off by default anyways - the data in this cluster is not so valuable as not to risk one day of rollback for the performance gain of having fsync turned off and I'm doin

pgsql-general@postgresql.org

2005-02-21 Thread Markus Wollny
Hello Oleg, Yes, thanks - I have installed this patch as soon as it became available. Concerning my largest database, I haven't yet migrated that to tsearch2 - it's still tsearch1-based, so I intend to drop ts1 before the last dump, reload the database with PostgreSQL 8.0.1 and deploy tsearch2

[GENERAL] no pg_hba.conf entry for host

2005-02-21 Thread Surabhi Ahuja
i have written a program:   #include#include int main(){    PGconn *myconnection = PQconnectdb("host = indra user = surabi password = test123 port = 5432 dbname=bpsimple");    if(PQstatus(myconnection) == CONNECTION_OK)    printf("Connection made\n");    else  

pgsql-general@postgresql.org

2005-02-21 Thread Magnus Hagander
> Hello! > > Finally the time has come for us to upgrade our PostgreSQL > 7.4.5-servers to 8.0.1 - and though I'm very much looking > forward to some of the new features, the dump&reload process > is worrying me a bit this time. I've got one cluster in > particular which is roughly 9GB in size

[GENERAL] Tracing of tables deleting - how?

2005-02-21 Thread mef
Title: Tracing of tables deleting - how? Hello, pgsql-general :) I have a task to make a some actions on 'deleting table' event. It event my be raise both stored procederes and any other's ways (pgAdmin GUI for example). Is any solutions for trace it and execute some actions before/after

Re: [GENERAL] Porting MySQL PHP to Postgres

2005-02-21 Thread Matt Kynaston
Shaun Clements wrote: RE: [GENERAL] Porting MySQL PHP to Postgres I assumed as much. I was hoping there was a tool available which someone had used and (or) what kind of stumbling blocks to run into. There's useful articles at: http://www.sitepoint.com/article/site-mysql-postgresql-

Re: [GENERAL] change user password

2005-02-21 Thread Martín Marqués
El Jue 17 Feb 2005 14:27, Hugo escribió: > hi, is it possible to change the user's password from a stored > procedure or a funcion? I mean , is there a system function/stored > procedure that can do it? like the dbo.sp_password found in Adaptive > server anywhare? Why not use ALTER USER? -- 08

Re: [GENERAL] Porting MySQL PHP to Postgres

2005-02-21 Thread Shaun Clements
Title: RE: [GENERAL] Porting MySQL PHP to Postgres Hi Russel I assumed as much. I was hoping there was a tool available which someone had used and (or) what kind of stumbling blocks to run into. Thanks again. Kind Regards, Shaun Clements -Original Message- From: Russell Smith [

[GENERAL] error while loading shared libraries:

2005-02-21 Thread Surabhi Ahuja
 yes ..it worked thank u.  

Re: [GENERAL] Porting MySQL PHP to Postgres

2005-02-21 Thread Russell Smith
On Mon, 21 Feb 2005 08:41 pm, you wrote: > Hi All > > I am going to attempt to move an Intranet Application across from MySQL, to > Postgres. > I would like to know is there any best method / tool to do this. > The application is written in PHP. Perhaps there is someone who is using > Postgres, wh

Re: [GENERAL] error while loading shared libraries: libpq.so.3

2005-02-21 Thread Russell Smith
On Mon, 21 Feb 2005 08:05 pm, Surabhi Ahuja wrote: > it now says: > > i do the following > > make sample > LDLIBRARY = /usr/local/pgsql/lib ./sample > > > LDLIBRARY: Command not found. > > > do you still experience problems when you run > LDLIBRARY=/usr/local/pgsql/lib ./sample Note there

Re: [GENERAL] Scalability with large numbers of tables

2005-02-21 Thread Marco Colombo
On Sun, 20 Feb 2005, Phil Endecott wrote: Dear Postgresql experts, I have a single database with one schema per user. Each user has a handful of tables, but there are lots of users, so in total the database has thousands of tables. I'm a bit concerned about scalability as this continues to grow

[GENERAL] PostgreSQL 8 install fails (initdb)

2005-02-21 Thread koester
Hi there, I have downloaded release 8.x for installation. Compilation and so on works fine (FreeBSD 5.2.1) initdb fails with the following informations: copying template1 to template0 ... cp: /usr/local/pgsql/data/base/1/16384: Invalid argument cp: /usr/local/pgsql/data/base/1/17175: Invalid ar

pgsql-general@postgresql.org

2005-02-21 Thread Oleg Bartunov
Markus, have you read updated http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/docs/tsearch-V2-intro.html about regprocedure_7.4.patch.gz and regprocedure_update.sql ? Oleg On Mon, 21 Feb 2005, Markus Wollny wrote: Hello! Finally the time has come for us to upgrade our PostgreSQL 7.4.5-serve

Re: [GENERAL] PostgreSQL scaleability question

2005-02-21 Thread Marco Colombo
On Fri, 18 Feb 2005, Wang, Mary Y wrote: Hi All, I have been using PostgreSQL for my project repository, because it is free and easy to use. My manager is trying to decide if he should use a commerical database such as Oracle or PostgreSQL for a gaint information repository for the corporate. He

Re: [GENERAL] 7.4.6 FC2 MUCH slower from 2.6.9-1.11 to 2.6.10-1.8

2005-02-21 Thread Clodoaldo Pinto
On Sun, 20 Feb 2005 12:35:02 -0300 (ART), Clodoaldo Pinto <[EMAIL PROTECTED]> wrote: > I made the same experience now with PG 8.01, FC3 and 512MB memory. The > previous > was PG 7.4.6, FC2 and 1GB. > > The difference in performance between kernels 2.6.9-1.724 and 2.6.10-1.766 is > still huge. >

[GENERAL] Porting MySQL PHP to Postgres

2005-02-21 Thread Shaun Clements
Title: [GENERAL] Porting MySQL PHP to Postgres Hi All I am going to attempt to move an Intranet Application across from MySQL, to Postgres. I would like to know is there any best method / tool to do this. The application is written in PHP. Perhaps there is someone who is using Postgres, who

pgsql-general@postgresql.org

2005-02-21 Thread Csaba Nagy
Hi Markus, Have you considered installing slony and replicate from the old version to the new one ? It can do that, and when the replica is up to date, the switchover will take minutes I guess. Note that I have never done that so please ask others about that too, or research for yourself ;-) Chee

Re: [GENERAL] error while loading shared libraries: libpq.so.3

2005-02-21 Thread Surabhi Ahuja
Title: Re: [GENERAL] error while loading shared libraries: libpq.so.3 it now says:   i do the following   make sample LDLIBRARY = /usr/local/pgsql/lib ./sample LDLIBRARY: Command not found.  From: Russell Smith [mailto:[EMAIL PROTECTED]Sent: Mon 2/21/2005 2:19 PMTo: Surabhi Ahuja Cc: pgs

Re: [GENERAL] error while loading shared libraries: libpq.so.3

2005-02-21 Thread Russell Smith
On Mon, 21 Feb 2005 06:17 pm, Surabhi Ahuja wrote: > i have written a program sample.c > it is as folllows: > #include > #include > int main() > { > PGconn *myconnection = PQconnectdb(""); > printf("Hi"); > return 0; > } > > I then compile this program using makefile > mak

Re: [GENERAL] error while loading shared libraries: libpq.so.3

2005-02-21 Thread Surabhi Ahuja
Title: Re: [GENERAL] error while loading shared libraries: libpq.so.3 I give the following command now to compile sample.c gcc -o sample sample.c -I/usr/local/pgsql/include -L/usr/local/pgsql/lib -rpath/usr/local/pgsql/lib - lpq   it gives this message:gcc: unrecognized option `-rpath/usr