473,799 Members | 2,761 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PostgreSQL Database Forum

PostgreSQL ORDBMS database - Ask questions about PostgreSQL development, administration replication, clustering, connection pooling, tables, indexes, databases, performance, SQL, queries and more.
1
1,535
thread by: Paramveer.Singh | last post Nov 23 '05 by: Shridhar Daithankar
Hi! I am trying to port an oracle app to postgres, an I don't know what to do with package scope variables. I was looking up some documentation and it seems (IMHO) that schemas would be a nice place to put the variables in(as they already have functions, operators and types). Is this feasible? Is the dev team interested in doing this at some...
2
2,179
thread by: Vic Cekvenich | last post Nov 23 '05 by: Tom Lane
What can I run on OS X as a pgAdmin equivalment (other than the Java solutions)? ..V -- Please post on Rich Internet Applications User Interface (RiA/SoA) <http://www.portalvu.com> ---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings
8
3,881
thread by: Michael Paesold | last post Nov 23 '05 by: Tom Lane
I just read this in the MySQL manual: (http://dev.mysql.com/doc/mysql/en/InnoDB_Error_handling.html) "Error handling in InnoDB is not always the same as specified in the SQL standard. According to the standard, any error during an SQL statement should cause the rollback of that statement. InnoDB sometimes rolls back only part of the...
3
1,498
thread by: D. Stimits | last post Nov 23 '05 by: Tom Lane
According to docs coming with the postgresql stuff on Linux for Fedora Core 2, pgaccess was moved into the tcl PostgreSQL package. Unfortunately, it seems that it was removed from one package and never added back in to the tcl or contrib packages. If I go to rpmfind.net I don't see any Redhat or Fedora rpms. Can anyone tell me if rpm format...
2
2,155
thread by: Nick Hajek | last post Nov 23 '05 by: Nick Hajek
I have moved a DB from 7.4.3 to 8.0.0b2 for testing and am experiencing some problems with the void type within pl functions. I am calling a function which returns a void from within another function and have defined a variable of type void to catch the returned value. This worked fine in 7.4.x but when executed in 8 generates a...
0
1,236
thread by: Katsaros Kwn/nos | last post Nov 23 '05 by: Katsaros Kwn/nos
Hi! I have some problems with the SPI memory management (at least I think this is the problem). What I'm trying to do is to get the Query related to a select statement, alter it and produce a new SPI_plan that will execute. To do so, I retrieve the query from the _SPI_plan->qtlist, alter it (seems OK in nodeToString) and then use some...
1
1,215
thread by: Sim Zacks | last post Nov 23 '05 by: Christopher Browne
Does anyone know if there is a planned PostGreSQL 8.0 book coming out in the near future? Thank You Sim Zacks IT Manager CompuLab 04-829-0145 - Office 04-832-5251 - Fax
3
1,199
thread by: Greg Donald | last post Nov 23 '05 by: Greg Donald
I'm thinking of getting this book and was wondering if anyone had anything bad (or good) to say about it? More than that I'd really like to know what version of Postgres it covers, the sample pages don't seem to say. http://tinyurl.com/5xtpp TIA.. --
6
12,490
thread by: Ying Lu | last post Nov 23 '05 by: Alvaro Herrera
Hi, I have a question about alter a column's type in a postgreSQL table. For example, I have 10, 000 records in a table name "test", I'd like to change column "machineID" type from integer to varchar. I am looking for something like: alter table test alter column machineID ... ... varchar
0
1,064
thread by: Tim | last post Nov 23 '05 by: Tim
Can somebody clue me in on this? I've been working on this for nearly a week now and it's driving me bunkers. I am using PostGIS/Mapserver and trying to get a simple demo running with just one PostGIS layer. My layer is never drawn and the best I can tell is the results from this transaction (not the exact one this is the simplest form...
4
2,631
thread by: Collin Peters | last post Nov 23 '05 by: Vivek Khera
I have searched the Internet... but haven't found much relating to this. I am wondering on what the best practices are for migrating a developmemnt database to a release database. Here is the simplest example of my situation (real world would be more complex). Say you have two versions of your application. A release version and a...
9
10,917
thread by: Karl O. Pinc | last post Nov 23 '05 by: Karl O. Pinc
I want to return multiple values, but not a set, only a single row, from a plpgsql function and I can't seem to get it to work. (I suppose I'd be happy to return a set, but I can't seem to make that work either. Anyway, what's wrong with this?) Version is: $ rpm -q postgresql
7
4,098
thread by: Randy Yates | last post Nov 23 '05 by: Bruno Wolff III
Is opening up port 5432 (R/W both directions) all that is required of a firewall in order to access a postgres database outside the firewall? -- % Randy Yates % "My Shangri-la has gone away, fading like %% Fuquay-Varina, NC % the Beatles on 'Hey Jude'" %%% 919-577-9882 % %%%% <yates@ieee.org> ...
4
3,681
thread by: Daniel Daoust | last post Nov 23 '05 by: Daniel Daoust
Hi, knowing that "autonomous transaction" (Oracle concept of) are not yet implemented in PostgreSQL, has anyone found a work-around. I need to preserve database states from a potential rollback and then log them inside database tables. What about: 1) using memory structures to hold the info, then commit to the database just before exit...
1
1,274
thread by: MaRCeLO PeReiRA | last post Nov 23 '05 by: MaRCeLO PeReiRA
Hi, I have several tables in a database and I have to grant ALL on each table to a user. How can I do it at once??? I'm doing a GRANT statement for each table... (ugly). Regards,
2
1,119
thread by: Dr. Aharon Friedman | last post Nov 23 '05 by: Raoul Buzziol
I would like to create two engines working as a backup to each other. Any idea how I should go about syncing them? Aharon Friedman
0
849
thread by: Klint Gore | last post Nov 23 '05 by: Klint Gore
I'm having a problem with infinite recursion on rules. Can someone point me to what settings I need to log which rules are being executed? I'm using log_min_messages=debug5 log_min_error_statement=debug5 log_statement='all' 8.0.0beta1 on win32 compiled from source.
0
933
thread by: Tim Penhey | last post Nov 23 '05 by: Tim Penhey
I am writing a plpgsql function and I have come across the situation where I want to raise an exception, but there are cursors open. Do these need to be closed before raising the exception or is that all handled for me? Thanks, Tim
2
4,997
thread by: Jeffrey W. Baker | last post Nov 23 '05 by: Peter Eisentraut
I just noticed something unexpected when using psql. I had written a shell script to bulk-load some hundreds of files into a database, and move each file to success/ or failure/ directories depending on the exit status. The problem is psql exit status differs depending on if the SQL script is provided with -c or on STDIN. Try this for...
1
1,920
thread by: Albrecht Stephen | last post Nov 23 '05 by: Peter Eisentraut
Hi, I have somehow managed to lock a row in one of my database tables, and I am now unable to unlock that row. I have tried using the ROLLBACK command, but get a notice: NO TRANSACTION IN PROGRESS. However, when I try to update or delete the record, the query never executes, and I have to cancel it manually, at which point I get the error:...
1
1,675
thread by: Henriksen, Jonas F | last post Nov 23 '05 by: Tom Lane
Hi, I cant seem to figure out how to use the geometric shapes in postgres: my query goes like this: select lat, lon from toperation where point'(lat,lon)' @ polygon'((50, 0),(70,10),(80,50),(50,80),(50,0))' This should fetch all values of lat and lon contained by the polygon, but I dont see how I can fetch the lat and lon values, I just...
0
372
thread by: fabien | last post Nov 23 '05 by: fabien
Hello, Are the indexes inherited during table inheritance ? Thanks -- Fabien Fournier ---------------------------(end of broadcast)---------------------------
1
2,214
thread by: Karl O. Pinc | last post Nov 23 '05 by: Tom Lane
FYI, mostly. But I do have questions as to how to write code that will continue to work in subsequent postgresql versions. See code below. begintest() uses EXIT to exit a BEGIN block from within nested loops. No problem. begintest2() simplifies this, omitting the nested loops. Still no problem.
0
983
thread by: Ying Lu | last post Nov 23 '05 by: Ying Lu
Hello, Does someone have some experiences of using the C-JDBC (database cluster middleware ) for large & middles-sized DB based on postgreSQL under i686.linux? You think it is a good idea for RAIDb? Thanks a lot! ---------------------------(end of broadcast)---------------------------
3
26,671
thread by: MaRCeLO PeReiRA | last post Nov 23 '05 by: Gaetano Mendola
Hi guys, How can I know about the number of active connections?? (not the maximum allowed, but the number of open connections). Regards, Marcelo Pereira Brasil

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.