473,800 Members | 2,738 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.
2
2,644
thread by: Jiri Nemec | last post Nov 23 '05 by: Joe Conway
Hello all, I have got one table with rounding values, table contains prices and round types. id price_from price_to rounding 1 0 1500 0.1 2 1500 5000 1 3 5000 15000 10 4 15000 0 100
1
448
thread by: Kevin Bartz | last post Nov 23 '05 by: Paul Tillotson
-----Original Message----- From: Kevin Bartz Sent: Friday, August 06, 2004 8:41 PM To: 'mike@thegodshalls.com' Subject: RE: Out of swap space & memory Well, all I'm doing right now is using psql from the command line. A bit unintelligent, I know, but I want to make sure things will work appropriately before I dive into the world of...
0
869
thread by: lj | last post Nov 23 '05 by: lj
Computer Associates (CA) issued a million dollar challenge to the open source community today, aimed at fostering the development of migration toolkits for its newly open-sourced Ingres r3 database. The cash will be distributed to developers who create solutions that enable users of Oracle, Microsoft SQL Server, Sybase Adaptive Enterprise...
2
2,821
thread by: Jerry LeVan | last post Nov 23 '05 by: Jerry LeVan
Hi, I am just getting into large objects and bytea "stuff". I created a small db called pictures and loaded some large objects and then tried to do a restore. Here is how I got the dump. pg_dump -Fc -b pictures > /Users/jerry/desktop/db.comp
3
1,145
thread by: Michael Hoeller | last post Nov 23 '05 by: Tom Lane
Hello, I searched the archives and since I'm a relatively noivce user I'll have to run the risk of repeating already asked questions. I'm having a problem to migrate from version 7.3.4 to 7.4.2 On version 7.3.4 I do: vacuumdb --analyze $PGDATABASE pg_dump -x $PGDATABASE >$DATABASE
6
2,693
thread by: ruben | last post Nov 23 '05 by: Gaetano Mendola
Hi: I'm running a large database on PostgreSQL 7.1.3. 20 days ago the database failed with a threatening and not too descriptive error like: pg_exec() query failed: server closed the connection unexpectedlyThis probably means the server terminated abnormally before or while processing the request. I lost some data and had to...
1
1,536
thread by: Greg Stark | last post Nov 23 '05 by: Alvaro Herrera
What does this mean? test=> create index cache_i_gist_sl on cache using gist (r_id, sl_ids); ERROR: index row requires 8216 bytes, maximum size is 8191 Postgres 7.4.2 I have btree_gist and intarray loaded. r_id is an integer, sl_ids is an int. Does it simply mean one of the int arrays is too large? Most of them have 0,
2
1,901
thread by: Jim Wilson | last post Nov 23 '05 by: Alvaro Herrera
The debug logs seem a little confusing. On sending a query something like this will show up: DEBUG: StartTransactionCommand LOG: query: select * from blah; DEBUG: ProcessQuery DEBUG: CommitTransactionCommand This is with auto commit off. My first reaction on seeing this was the auto commit setting must not work. Then I noticed that...
1
1,555
thread by: Otto Blomqvist | last post Nov 23 '05 by: Scott Marlowe
Hello! I'm pretty sure this is an easy thing to do but I cant still figure out how. I have a table with about 20 columns, one column being the record_number. I want to insert 100'000 new records with 1, 2, 3, 4 .... 100'000 in the record_number field. All the other columns can be left at nulls or whatever the default is. Right now I'm...
3
1,811
thread by: Darkcamel | last post Nov 23 '05 by: Jeff Eckermann
Hello all, I am new to postgres and don't really understand how the database is set-up. I am very fluent with mysql and sql2000, but postgres is new to me. If anyone can point me to some good links I would appreciate it very much. Thanks, Darkcamel
6
6,370
thread by: John DeSoi | last post Nov 23 '05 by: John DeSoi
Is there a way to provide a md5 password directly to psql? I'm aware of pgpass but I would like to store a md5 password in some other location and then use it to execute commands with psql. Thanks, John DeSoi, Ph.D. ---------------------------(end of broadcast)---------------------------
10
1,154
thread by: David Parker | last post Nov 23 '05 by: Mike Mascari
In an article about IBM's releasing Cloudscape to Apache, http://www.eweek.com/article2/0,1759,1630856,00.asp eWeek says: "The developer community for Cloudscape now consists of about 80 IBM developers, Rivot said. IBM of course anticipates that population will explode when the open-source community gets its hand on the code, but just...
0
293
thread by: amir | last post Nov 23 '05 by: amir
I have the following 2 functions and I'm getting deadlocks when I call them from multiple threads. The first, I'm not sure why because I'm doing a select for update. The second I'm doing an insert on, and I thought insert will automatically do a lock as it inserts: -------------FUNCTION 1: -------------
1
1,878
thread by: Neil Zanella | last post Nov 23 '05 by: Uwe C. Schroeder
Hello, I have an SQL database which I create with: psql -f create.sql foodb I then access this database and perform several insertions, modifications, and deletions. Finally, I want to backup my database. I do not want to backup the schema. All I want is a set of insert statements stored in a file insert.sql which I can run on a set of...
0
273
thread by: Oscar Tuscon | last post Nov 23 '05 by: Oscar Tuscon
I'm looking at ways to get batches of sequence values s faster. I don't want to set cache or increment to a large number for a variety of reasons. I need to grab id's in batches of varying numbers at various times, from 1 to several thousand at once. Doing it 1 at a time works, but more time goes into it than I'd like. I tried setting cache_value...
0
1,062
thread by: Josué Maldonado | last post Nov 23 '05 by: Josué Maldonado
Hello list, Could anyone point me the rigth way to write this query: INSERT INTO ped_cam (SELECT * from ped_pro where ped_pk=lnpedpk) WHERE NOT EXISTS (SELECT ped_pk FROM ped_cam WHERE ped_pk=lnpedpk); I got this:
0
1,058
thread by: Amir Zicherman | last post Nov 23 '05 by: Amir Zicherman
I have the following 2 functions and I'm getting deadlocks when I call them from multiple threads. The first, I'm not sure why because I'm doing a select for update. The second I'm doing an insert on, and I thought insert will automatically do a lock as it inserts: -------------FUNCTION 1: ------------- CREATE OR REPLACE FUNCTION...
1
1,907
thread by: Jerry LeVan | last post Nov 23 '05 by: Kris Jurka
Is there any chance that PQunescapeBytea will always have a \000 at the end of the unescaped buffer? unescvalue = PQgetvalue(lastResult, row, fieldNum); value = PQunescapeBytea(unescvalue, &size); ie is "value" a C string or do I have to make another copy so I can append a \000 byte?
6
7,032
thread by: David Garamond | last post Nov 23 '05 by: Pierre-Frédéric Caillaud
in oracle 10g, you can issue: ALTER SESSION SET NLS_COMP = ansi; ALTER SESSION SET NLS_SORT = binary_ci; do you think this is an elegant solution for case insensitive sorting & searching? is there interest in seeing this in postgres? -- dave
2
1,675
thread by: Oscar Tuscon | last post Nov 23 '05 by: Greg Stark
I'm looking at ways to get batches of sequence values s faster. I don't want to set cache or increment to a large number for a variety of reasons. I need to grab id's in batches of varying numbers at various times, from 1 to several thousand at once. Doing it 1 at a time works, but more time goes into it than I'd like. I tried setting cache_value...
1
7,769
thread by: marcelo Cortez | last post Nov 23 '05 by: Richard Huxton
Hi folks My application fail with 'Non-superuser connection limit exceeded' error , the client application is connected via ODBC AND GPF MESSAGE appear there. the 'Non-superuser connection limit exceeded' what'wrong?.
4
11,441
thread by: Jerry LeVan | last post Nov 23 '05 by: David Rysdam
Hi, I am adding image and large object support in my Cocoa postgresql browser. Are there going to be any enhanced bytea support functions coming along? It seems sorta silly to have to write customized C code to import a file into a bytea field.
2
3,123
thread by: Martin Sarsale | last post Nov 23 '05 by: Steve Crawford
Dear All: Im looking for solutions (Free Software is better) to do query result caching. Thanks to the people from #postgresql I know that postgres doesn't do that by himself and the solution should be some kind of middle ware. This is our problem: we are executing the same set of SELECT SP/queries hundreds of times, without updating the...
0
964
thread by: John Wells | last post Nov 23 '05 by: John Wells
My company is ramping up for a long ERP conversion project from Progress RDBMS and 4GL (www.progress.com) to a Postgresql/Java solution. I'm seeking an *expert* consultant(s) to establish an relationship with. We initially need help on deciding the best allocation of hardware for the application and for postgresql specifically. I say...
6
3,434
thread by: Jim C. Nasby | last post Nov 23 '05 by: Jim C. Nasby
Is there any reason why there isn't a predefined cast to go from a timestamp to a varchar? Is there a reason not to add one? -- Jim C. Nasby, Database Consultant jim@nasby.net Member: Triangle Fraternity, Sports Car Club of America Give your computer some brain candy! www.distributed.net Team #1828 Windows: "Where do you...

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.