[GENERAL] Automatic install on windows

2007-06-25 Thread Jason Long
I have a client that wants a disaster recovery plan put into place. What is the easiest way to do a hands free install of postgresql on a window box? Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com

Re: [GENERAL] dynamic table/col names in plpgsql

2007-06-25 Thread gary jefferson
ugh, I'm going down a rathole with this... the dynamic part of the query is the table name, and therefore, if I want to select into a row variable, that variable's declaration needs to be dynamic, too. That seems kind of crazy, and I see no way to do that anyway. Maybe I'm going about this all

Re: [GENERAL] [SQL] another simple SQL question

2007-06-25 Thread Jean-David Beyer
Joshua wrote: Ok here is another simple question from a novice Here is what my table looks like firstname lastname fullname -- -- --- smith, john

Re: [GENERAL] permission denied for schema

2007-06-25 Thread Manuel Sugawara
Tom Lane [EMAIL PROTECTED] writes: jef peeraer [EMAIL PROTECTED] writes: Tom Lane schreef: That's a foreign-key check, which is supposed to be done as the owner of the table. You did not show us who owns table clienten, but I think that role must be missing the intended(?) membership in

Re: [GENERAL] minimum function

2007-06-25 Thread Gunther Mayer
Tom Lane wrote: Gunther Mayer [EMAIL PROTECTED] writes: SELECT minimum(5,6) = 5 You're looking for the least/greatest functions (in 8.1 and up IIRC). regards, tom lane Awesome, that's exactly what I was looking for. My pl/pgsql minimum() hack is gonna go

[GENERAL] was is the normal number of postgres.exe?

2007-06-25 Thread Wm.A.Stafford
We are testing an application received from a collaborator that uses the latest version of postgresql. After a few minutes of use we often see a dozen or more postgres.exe listed by the windows XP task manager. This is at a time when we are not doing anything with the application so these

Re: [GENERAL] was is the normal number of postgres.exe?

2007-06-25 Thread Bill Moran
In response to Wm.A.Stafford [EMAIL PROTECTED]: We are testing an application received from a collaborator that uses the latest version of postgresql. After a few minutes of use we often see a dozen or more postgres.exe listed by the windows XP task manager. This is at a time when we are

[GENERAL] yet another simple SQL question

2007-06-25 Thread Joshua
Ok, You guys must be getting sick of these newbie questions, but I can't resist since I am learning a lot from these email lists and getting results quick! Thanks to everyone for their contributions. Here is my questions I have a column that looks like this firstname -

Re: [GENERAL] Move a database from one server to other

2007-06-25 Thread Francisco Reyes
Nicholas Barr writes: It is much much safer to use pg_dump/pg_restore and know that your data is consistent. http://www.postgresql.org/docs/8.2/static/backup-dump.html In particular look at the section 23.1.2. Using pg_dumpall That will copy your entire data set including users.

Re: [GENERAL] Automatic install on windows

2007-06-25 Thread Magnus Hagander
Jason Long wrote: I have a client that wants a disaster recovery plan put into place. What is the easiest way to do a hands free install of postgresql on a window box? http://pginstaller.projects.postgresql.org/silent.html //Magnus ---(end of

[GENERAL] Standby servers and incrementally updated backups

2007-06-25 Thread Erik Jones
It is my understanding that once a standby server has reached the point where it is often waiting for wal files to replay, it is pretty much caught up to the primary server, with the differences being in whatever wal files are currently in queue to be archived by the primary. If I'm

Re: [GENERAL] yet another simple SQL question

2007-06-25 Thread Erik Jones
On Jun 25, 2007, at 12:44 PM, Joshua wrote: Ok, You guys must be getting sick of these newbie questions, but I can't resist since I am learning a lot from these email lists and getting results quick! Thanks to everyone for their contributions. Here is my questions I have a column

Re: [GENERAL] Move a database from one server to other

2007-06-25 Thread Michael Glaesemann
On Jun 25, 2007, at 10:44 , Nicholas Barr wrote: Only copy the data directory if both servers are offline and not running and if both servers use the same version of postgres. ... and have the same architecture. As you note, copying the data directory is *not* the recommended way to do

Re: [GENERAL] acampada

2007-06-25 Thread Adrián Ribao Martínez
Sorry, I have no idea about what happen!! Sorry! El Lunes, 25 de Junio de 2007, Andrej Ricnik-Bay escribió: On 6/26/07, Adrián Ribao Martínez [EMAIL PROTECTED] wrote: Ya he publicado la informacióne en la página y he abierto un post en el foro para organizarlo. Creo que lo mejor

[GENERAL] I want to apologize

2007-06-25 Thread Adrián Ribao Martínez
Please, I'm sorry, I have sent some emails to the list that shouldn't go there. I have realized right now that there is a bug with Kmail, and every time I reply a message, the email address is [EMAIL PROTECTED] I have no idea why. Sorry again. ---(end of

Re: [GENERAL] Standby servers and incrementally updated backups

2007-06-25 Thread Simon Riggs
On Mon, 2007-06-25 at 13:42 -0500, Erik Jones wrote: It is my understanding that once a standby server has reached the point where it is often waiting for wal files to replay, it is pretty much caught up to the primary server, with the differences being in whatever wal files are

Re: [GENERAL] A problem in inheritance

2007-06-25 Thread Talha Khan
to impact that update you'd have to have a rule on account_login. No rule on a child table will matter. Well i had the same perception In order to double check this i created an On insert do nothing rule on the child table and did an insertion to the master table i.e (account_login) but

Re: [GENERAL] Standby servers and incrementally updated backups

2007-06-25 Thread Erik Jones
On Jun 25, 2007, at 3:40 PM, Simon Riggs wrote: On Mon, 2007-06-25 at 13:42 -0500, Erik Jones wrote: It is my understanding that once a standby server has reached the point where it is often waiting for wal files to replay, it is pretty much caught up to the primary server, with the

Re: [GENERAL] VACUUM ANALYZE extremely slow

2007-06-25 Thread Sergei Shelukhin
errr... workmem is 256Mb of course, and 5m for explain analyze costs. ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [GENERAL] Dynamic Log tigger (plpgsql)

2007-06-25 Thread Noah Heusser
How can I do OLD.columnName != NEW.columnName if I don't know what the columnNames are at Compile Time? I have the columnName in a variable. Are you trying to do this from a plpgsql function? If so then I think you should try to do this from a C function. With C functions you will get more

[GENERAL] commit transaction failed

2007-06-25 Thread nasim . sindri
I m having a problem while calling the procedure in prostgresql 8.2 from adoconnection, It gets executed for some time and after 5-10 call it gives error startTransaction failed or CommitTransaction Failed. CREATE OR REPLACE FUNCTION sp_getnewfiles(IN strserverid character varying, IN nmaxcount

[GENERAL] Rule vs Trigger

2007-06-25 Thread Alfred Zhao
Suppose I want to update a statistics table S after an insertion into an activity table A. In order to update S automatically, I can either create a rule on A or create an after trigger on A. What's the performance implication on using rule vs trigger? Thanks in advance. Alfred

Re: [GENERAL] VACUUM ANALYZE extremely slow

2007-06-25 Thread Sergei Shelukhin
Hi. Sorry for being a bit emotional, I was pretty constructive in my earlier posts (the earlier, the more constructive if you care to search) but I am progressively getting pissed off :( Thanks for the initial tip, running ANALYZE w/o vacuum is faster. Are frequent vacuums even necessary if there

[GENERAL] pg_dump to include multiple tables

2007-06-25 Thread cha
Hi All, I want to dump the database by using pg_dump command but the problem is the version at the server is 7.4 which doesn't support the provision for excluding tables as in version 8.2. There are 500+ tables in the database,from which 15-20 are of huge sizes.I want to exclude them.Is there

Re: [GENERAL] fsync error when restoring from archived xlogs

2007-06-25 Thread Tom Lanyon
On 20/06/2007, at 6:48 AM, Simon Riggs wrote: This problem is fixed in 8.1.9. Seems it was inadvertently introduced in 8.1.7 (Jan 2007) and was not reported as a bug until after 8.1.8 was out, in early April. The 8.1.9 release notes make no mention of the bug fix, which isn't very

Re: [GENERAL] Standby servers and incrementally updated backups

2007-06-25 Thread Simon Riggs
On Mon, 2007-06-25 at 16:00 -0500, Erik Jones wrote: On Jun 25, 2007, at 3:40 PM, Simon Riggs wrote: If I'm correct, then for large databases wherein it can take hours to take a base backup, is there anything to be gained by using incrementally updated backups? If you are certain there

Re: [GENERAL] unexpected shutdown

2007-06-25 Thread Marco Colombo
[EMAIL PROTECTED] wrote: [EMAIL PROTECTED] writes: My database has shutdown several times in the last couple days. I have no idea why. I am running centos and I have not rebooted the server or made any configuration changes. So in particular, you didn't disable memory overcommit? LOG:

[GENERAL] Duplicate records returned

2007-06-25 Thread daniel65456
I'm getting duplicate rows returned. I don't know know and can't find out how to construct the SQL to return what I want. I have an old version of postgres which I cannot upgrade. I'm not even sure how to get the version. Does this help? $ grep -i version /pi/bin/setup wtversion='2.0'

[GENERAL] Error or bug?

2007-06-25 Thread Vincenzo Romano
Hi all. Under PGSQL v8.2.4, in a PL/PgSQL function whenver I try to run this statement: INSERT INTO table1 SELECT var1.*; I get his message: ERROR: record type has not been registered CONTEXT: SQL statement INSERT INTO table1 select $1 .* Of course var1 has been declared as table1 type.

[GENERAL] postgresql varchar[] data type equivalent in Oracle

2007-06-25 Thread Murali Doss
Dear All, I like to know about postgresql varchar[ ] data type equivalent in Oracle. Regards Murali Doss T.S.

Re: [GENERAL] problem importing data with psql

2007-06-25 Thread cha
Hi All, Am able to resolve the problem by setting PGPASSWORD=password in my environment variables and passing the -q(quiet) command in my ant script. Cheers, Cha cha wrote: Hi All, Am using the following command to import tables in my database. I got list of tables which i need to

[GENERAL] dynamic table/col names in plpgsql

2007-06-25 Thread gary jefferson
Is there a way to use a variable as the name of a table or column in plpgsql? This might be a simple question, but I can't find the answer in the docs. http://www.postgresql.org/docs/8.2/interactive/plpgsql-declarations.html hints that there are data types that correspond to table/column, but I

Re: [GENERAL] Optimizer problem in 8.1.6

2007-06-25 Thread Fernando Schapachnik
En un mensaje anterior, Michael Glaesemann escribió: On Jun 22, 2007, at 10:16 , Fernando Schapachnik wrote: EXPLAIN SELECT DISTINCT p.id Can you provide EXPLAIN ANALYZE? I suspect that when you rewrote the query it changed how the planner took into account the statistics. If your

[GENERAL] problem importing data with psql

2007-06-25 Thread cha
Hi All, Am using the following command to import tables in my database. I got list of tables which i need to import. So have made ant script and batch file to accomplish the purpose. Ant script contains all the configurations with following command : arg line=/c psql -h ${db.host} -p

[GENERAL] Need help with generic query

2007-06-25 Thread David Abrahams
Background: I have a number of schemas all of which contain a ticket table having the same columns. The goal of the function xticket1 below is to collect all ticket rows satisfying some condition from all those schemas, and additionally label each one by adding a new column containing the name of

[GENERAL] commit failed when calling postgresql procedure

2007-06-25 Thread nasim . sindri
PLATEFORM: VC++ 7 , ADO, WINDOWS 2003, POSTGRE 8.2 I m having a problem while calling the procedure in prostgresql 8.2 from adoconnection, It gets executed for some time and after 5-10 call it gives error either startTransaction failed or commit failed. CREATE OR REPLACE FUNCTION

[GENERAL] LC_CTYPE and matching accented chars

2007-06-25 Thread Martin Langhoff
Trying to understand how I can get Pg 8.2 to match 'martín' when I search for 'martin', and going through the documentation, specially http://www.postgresql.org/docs/8.2/static/locale.html http://www.postgresql.org/docs/8.1/static/functions-matching.html Here is a transcript of my

Re: [GENERAL] Standby servers and incrementally updated backups

2007-06-25 Thread Erik Jones
On Jun 25, 2007, at 4:40 PM, Simon Riggs wrote: On Mon, 2007-06-25 at 16:00 -0500, Erik Jones wrote: On Jun 25, 2007, at 3:40 PM, Simon Riggs wrote: If I'm correct, then for large databases wherein it can take hours to take a base backup, is there anything to be gained by using

[GENERAL] CHECK

2007-06-25 Thread scuffio
I would want to know as I make to control that the length of the field character insert is of one sure dimension ---(end of broadcast)--- TIP 4: Have you searched our list archives? http://archives.postgresql.org/

[GENERAL] Throwing exceptions

2007-06-25 Thread Germán Hüttemann Arza
Hi, I need a way to throw a message in a function, when an exception occurs, but I don't want to write again and again the same message in every place I need to throw it. So, is there a way to handle this situation in a more general manner? Thanks in advance, -- Germán Hüttemann Arza CNC -

Re: [GENERAL] Rule vs Trigger

2007-06-25 Thread Richard Broersma Jr
--- Alfred Zhao [EMAIL PROTECTED] wrote: Suppose I want to update a statistics table S after an insertion into an activity table A. In order to update S automatically, I can either create a rule on A or create an after trigger on A. What's the performance implication on using rule vs trigger?

Re: [GENERAL] CHECK

2007-06-25 Thread Richard Broersma Jr
--- scuffio [EMAIL PROTECTED] wrote: I would want to know as I make to control that the length of the field character insert is of one sure dimension A check constraint can certainly do this. If you want to generalize it, you can roll you check constraint into a domain (user defined column

Re: [GENERAL] Error or bug?

2007-06-25 Thread Tom Lane
Vincenzo Romano [EMAIL PROTECTED] writes: Under PGSQL v8.2.4, in a PL/PgSQL function whenver I try to run this statement: INSERT INTO table1 SELECT var1.*; I get his message: ERROR: record type has not been registered Works for me: $ psql ... Welcome to psql 8.2.4, the PostgreSQL

Re: [GENERAL] Throwing exceptions

2007-06-25 Thread Michael Glaesemann
On Jun 21, 2007, at 10:30 , Germán Hüttemann Arza wrote: I need a way to throw a message in a function, when an exception occurs, but I don't want to write again and again the same message in every place I need to throw it. So, is there a way to handle this situation in a more general

Re: [GENERAL] pg_dump to include multiple tables

2007-06-25 Thread Michael Glaesemann
On Jun 19, 2007, at 0:40 , cha wrote: I want to dump the database by using pg_dump command but the problem is the version at the server is 7.4 which doesn't support the provision for excluding tables as in version 8.2. The v8.2 pg_dump will be able to dump data from the v7.4 server, so

Re: [GENERAL] pg_restore out of memory

2007-06-25 Thread Francisco Reyes
Re-did the machine that was running out of memory and installed FreeBSD 6.2 AMD64. The rows that used to fail now load. Therefore, the problem is only with the i386 version. Should I report this as a bug or is this nornal and expected? ---(end of

Re: [GENERAL] VACUUM ANALYZE extremely slow

2007-06-25 Thread Alvaro Herrera
Sergei Shelukhin escribió: * What other non-default configuration settings do you have? I played w/shared buffers, setting them between 16k and 32k,~ 24k seems to be the best but the difference is minimal. The work_mem setting is 256kb, and I increased effective cache size to ~700Mb (~35%

Re: [GENERAL] pg_restore out of memory

2007-06-25 Thread Vivek Khera
On Jun 25, 2007, at 9:33 PM, Francisco Reyes wrote: Therefore, the problem is only with the i386 version. Should I report this as a bug or is this nornal and expected? i wouldn't call it a bug to need more resources than you've got available :-) obviously the limits on the i386 version

Re: [GENERAL] pg_restore out of memory

2007-06-25 Thread Francisco Reyes
Vivek Khera writes: i wouldn't call it a bug to need more resources than you've got available :-) Hm... now I am really confused. The same settings on AMD64 work. So how are more resources available when I have the same amount of memory and the same settings? I even tried a machine with

Re: [GENERAL] pg_restore out of memory

2007-06-25 Thread Vivek Khera
On Jun 25, 2007, at 10:32 PM, Francisco Reyes wrote: Hm... now I am really confused. The same settings on AMD64 work. So how are more resources available when I have the same amount of memory and the same settings? you set your maxdsize to the same as on i386? on even my smallest

Re: [GENERAL] pg_restore out of memory

2007-06-25 Thread Francisco Reyes
Vivek Khera writes: you set your maxdsize to the same as on i386? On the AMD64 I have /boot/loader.conf as kern.ipc.semmni=256 kern.ipc.semmns=512 kern.ipc.semmnu=256 In i386 I believe I had set kern.ipc.semmni=256 kern.ipc.semmns=512 kern.ipc.semmnu=256 kern.maxdsiz=1600MB

[GENERAL] data partitions across different nodes

2007-06-25 Thread 金星星
Are there any solutions based on PostgreSQL that can support distributing partitions (horizontal fragmentations) across different nodes. It doesn't need to support distributed transaction, since data inconsistent is not a critical problem in my situation. ---(end of

Re: [GENERAL] data partitions across different nodes

2007-06-25 Thread Mikko Partio
On 6/26/07, 金星星 [EMAIL PROTECTED] wrote: Are there any solutions based on PostgreSQL that can support distributing partitions (horizontal fragmentations) across different nodes. It doesn't need to support distributed transaction, since data inconsistent is not a critical problem in my

[GENERAL] varchar(n) VS text

2007-06-25 Thread Pierre Thibaudeau
Having read http://www.postgresql.org/docs/8.2/interactive/datatype-character.html I am puzzling over this issue: 1) Is there ever ANY reason to prefer varchar(n) to text as a column type? 2) For instance, if I know that a character-type column will never contain more than 300 characters,

Re: [GENERAL] varchar(n) VS text

2007-06-25 Thread Ben
On Mon, 25 Jun 2007, Pierre Thibaudeau wrote: From my reading of the dataype documentation, the ONLY reason I can think of for using varchar(n) would be in order to add an extra data-type constraint to the column. That's my understanding as well. I can think of a few reasons to use char(n)

Re: [GENERAL] varchar(n) VS text

2007-06-25 Thread Tom Lane
Pierre Thibaudeau [EMAIL PROTECTED] writes: I am puzzling over this issue: 1) Is there ever ANY reason to prefer varchar(n) to text as a column type? In words of one syllable: no. Not unless you have an application requirement for a specific maximum length limit (eg, your client code will

Re: [GENERAL] alter table type from double precision to real

2007-06-25 Thread Michael Fuhr
On Mon, Jun 25, 2007 at 12:35:11AM -0400, Tom Lane wrote: Michael Fuhr [EMAIL PROTECTED] writes: On Mon, Jun 25, 2007 at 09:51:30AM +0900, [EMAIL PROTECTED] wrote: It seems that real takes 8 byte storage sizes. Real is 4 bytes but other columns' alignment requirements might result in no

Re: [GENERAL] writing debug output in perl

2007-06-25 Thread Albe Laurenz
Harpreet Dhaliwal wrote: Can anyone help me out with funciton(s) to write a debug output in a perl function on postgres. Check out DBI-Link and see how it is done there: http://pgfoundry.org/projects/dbi-link/ Yours, Laurenz Albe ---(end of

Re: [GENERAL] alter table type from double precision to real

2007-06-25 Thread ssoo
Actually, table size shrinked a little. But I misinterpreted it as no shrinking. I expected much more shrinking. Thank you for your concerns. Michael Fuhr [EMAIL PROTECTED] wrote: I see table sizes shrink on 64-bit sparc and x86 architectures, as in the following example that results in

Re: [GENERAL] alter table type from double precision to real

2007-06-25 Thread Michael Fuhr
On Mon, Jun 25, 2007 at 12:35:11AM -0400, Tom Lane wrote: As for that pg_dump measurement, the text form isn't going to get smaller ... 1.2 is the same length as 1.2. Non-text formats like -Fc should (or might) shrink, right? They appear to in the tests I've done. -- Michael Fuhr

Re: [GENERAL] alter table type from double precision to real

2007-06-25 Thread Gregory Stark
[EMAIL PROTECTED] writes: Real type takes 4 byte storage sizes and double precision takes 8 bytes. I altered a data type from double precision to real and vacuumed DB. But PostgreSQL's data disk usage did not shrinked. And pg_dump size remained same. It seems that real takes 8 byte storage

Re: [GENERAL] alter table type from double precision to real

2007-06-25 Thread ssoo
Michael Fuhr [EMAIL PROTECTED] wrote: Altering a column's type rewrites the table so vacuuming afterward shouldn't be necessary. I'm gonna alter another table type from double precision to real. This table size is lager than disk free space. Can it be possible? Previsouly, I saw continuous

Re: [GENERAL] alter table type from double precision to real

2007-06-25 Thread ssoo
Gregory Stark [EMAIL PROTECTED] wrote: This could also be due to alignment restrictions on the other columns or the row as a whole. If you're curious exactly what's going on and how to optimize your table layout send your table definition and we can tell you exactly how it's being laid out and

Re: [GENERAL] alter table type from double precision to real

2007-06-25 Thread Gregory Stark
[EMAIL PROTECTED] writes: Gregory Stark [EMAIL PROTECTED] wrote: This could also be due to alignment restrictions on the other columns or the row as a whole. If you're curious exactly what's going on and how to optimize your table layout send your table definition and we can tell you exactly

Re: [GENERAL] alter table type from double precision to real

2007-06-25 Thread Robert Treat
On Monday 25 June 2007 03:35, [EMAIL PROTECTED] wrote: Michael Fuhr [EMAIL PROTECTED] wrote: Altering a column's type rewrites the table so vacuuming afterward shouldn't be necessary. I'm gonna alter another table type from double precision to real. This table size is lager than disk free

Re: [GENERAL] Experiences of PostgreSQL on-disk bitmap index patch

2007-06-25 Thread Robert Treat
On Thursday 21 June 2007 04:39, Christan Josefsson wrote: Ok. Big thanks for the information. You mentioned Bizgres, do you have any more information in that direction, or do you know who to contact regarding information on Bizgres bitmap indexes. If there is a bitmap index patch in Bizgres

Re: [GENERAL] Experiences of PostgreSQL on-disk bitmap index patch

2007-06-25 Thread Chris Browne
[EMAIL PROTECTED] (Christan Josefsson) writes: So you indicate that the so called bitmap index scan, a.k.a in-memory bitmap indexes (right?), already adds such an improvement when it comes to optimized response time on large query sets (having the characteristics as normally 

Re: [GENERAL] Experiences of PostgreSQL on-disk bitmap index patch

2007-06-25 Thread Christan Josefsson
Thanks Robert! So you indicate that the so called bitmap index scan, a.k.a in-memory bitmap indexes (right?), already adds such an improvement when it comes to optimized response time on large query sets (having the characteristics as normally used to identify cases where bitmap indexes improves

Re: [GENERAL] alter table type from double precision to real

2007-06-25 Thread Tom Lane
Michael Fuhr [EMAIL PROTECTED] writes: On Mon, Jun 25, 2007 at 12:35:11AM -0400, Tom Lane wrote: Even with no other columns involved, if you're on a machine with MAXALIGN = 8 (which includes all 64-bit platforms as well as some that aren't), the row width won't shrink. I see table sizes

[GENERAL] simple SQL question

2007-06-25 Thread Joshua
I have a column with the following values (example below) 5673 4731 4462 5422 756 3060 I want the column to display the numbers as follows: 56.73 47.31 44.62 54.22 7.56 30.60 I have been playing around with string functions but cannot seem to figure out a quick solution. Does anyone have any

Re: {Spam} [GENERAL] simple SQL question

2007-06-25 Thread Dimitri Fontaine
Le lundi 25 juin 2007, Joshua a écrit : I have been playing around with string functions but cannot seem to figure out a quick solution. Does anyone have any suggestions? Please let me know. What about: pgloader=# select a::float / 100 from (values(5673), (4731), (4462), (5422), (756),

Re: [GENERAL] Experiences of PostgreSQL on-disk bitmap index patch

2007-06-25 Thread Tom Lane
Chris Browne [EMAIL PROTECTED] writes: But to be sure, there used to be a lot of burning interest in on-disk bitmap indexes, and in-memory bitmap index scans have quenched many of the flames... Well, we had in-memory bitmaps already in 8.1, and the bitmap index work happened since that. I

Re: [GENERAL] simple SQL question

2007-06-25 Thread Rich Shepard
On Mon, 25 Jun 2007, Joshua wrote: I have a column with the following values (example below) 5673 4731 4462 5422 756 3060 Are these numbers that will be used in calculations, or are they strings? I want the column to display the numbers as follows: 56.73 47.31 44.62 54.22 7.56 30.60

[GENERAL] another simple SQL question

2007-06-25 Thread Joshua
Ok here is another simple question from a novice Here is what my table looks like firstname lastname fullname -- -- --- smith, john green, susan

[GENERAL] Move a database from one server to other

2007-06-25 Thread Adrián Ribao Martínez
Hello, I have to move all the data in my actual server to the new one. I have several databases in postgresql, and I'd like to know the best way to move them. I thoung that maybe copying all the data directory... but I'm not sure, and I don't know where it's stored. I'd apreciate your help.

Re: [GENERAL] another simple SQL question

2007-06-25 Thread Nicholas Barr
Ok here is another simple question from a novice Here is what my table looks like firstname lastname fullname -- -- --- smith, john green,

Re: [GENERAL] Move a database from one server to other

2007-06-25 Thread Nicholas Barr
Hello, I have to move all the data in my actual server to the new one. I have several databases in postgresql, and I'd like to know the best way to move them. I thoung that maybe copying all the data directory... but I'm not sure, and I don't know where it's stored. I'd apreciate your

Re: [GENERAL] dynamic table/col names in plpgsql

2007-06-25 Thread gary jefferson
Thanks Michael and Steve. Related question: If I previously had a IF EXISTS (select ...) statement, and the 'select ...' part now needs to be run with EXECUTE, how do I check for existence? It looks like I need to do an 'INTO' with a row variable? I can't seem to find an example snippet of

Re: [GENERAL] acampada

2007-06-25 Thread Adrián Ribao Martínez
Ya he publicado la informacióne en la página y he abierto un post en el foro para organizarlo. Creo que lo mejor sería que fueras respondiendo a las preguntas que se formulan en el. Esta es la direccion: http://foro.universoheroes.com/showthread.php?tid=1105pid=21813#pid21813 Un saludo! El