473,700 Members | 2,424 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.
19
2,819
thread by: Mike Cox | last post Nov 23 '05 by: Sim Zacks
Obviously, there cannot be 21 postgresql groups in the comp.* hierarchy. Many of the 21 are not used that often, and would not be of much popularity to those on usenet. I did a check on news.postgresql.org to see which newsgroups are the most popular and also the ones which cover the relevant postgresql topics. Most of the postgresql...
3
5,483
thread by: Sim Zacks | last post Nov 23 '05 by: Sim Zacks
I have a postgresql backend with an access front end and I am trying to redefine the recordset of the form to use an ADO recordset. The problem is that the CursorType always changes to AdOpenStatic, even if I choose adOpenDynamic. If anyone has any thoughts, please let me know. The form works great for viewing, but I cannot update or insert...
1
2,680
thread by: Alexander Antonakakis | last post Nov 23 '05 by: Michael Fuhr
I would like to ask the more experienced users on Postgres database a couple of questions I have on a db I manage with a lot of data. A lot of data means something like 15.000.000 rows in a table. I will try to describe the tables and what I will have to do on them :) There is a table that has product data in the form of Table product:...
2
3,041
thread by: TJ Talluto | last post Nov 23 '05 by: Mike Rylander
Instead of putting the same 12 columns on every table (these 12 columns contain info about who created the record and when, for example)... It may be more efficient to make a new table to hold that data. This new table would act as a universal extension table. Instead of having FKs back to any particular table, it would contain regular keys...
2
5,910
thread by: Gregory S. Williamson | last post Nov 23 '05 by: Stephan Szabo
Dear peoples, We had an oddness today with one of of postgres servers (Dell 2 CPU box running linux) and postgres 7.4. The server was under heavy load (50+ for a 1 minutes spike; about 20 for the 15 minute average) with about 250 connections (we still don't understand the heavy load itself). Looking in the logs I see: 2004-11-13 13:30:28...
0
1,795
thread by: Brian | last post Nov 23 '05 by: Brian
Just a heads up folks, someone has harvested emails out of this list, or one of the windows users has a virus. Be on the lookout Full header below. From info@ROSELINEKLEIN.com Sat Nov 13 13:16:34 2004 Return-Path: info@ROSELINEKLEIN.com Received: from (HELO alibi.mail) by genium.com (Stalker SMTP Server 1.8b8) with ESMTP id S.0002169980...
1
2,566
thread by: Bjørn T Johansen | last post Nov 23 '05 by: Michael Fuhr
I have the following select: select to_char((Log_Fortrykk.SistePlate::time - OrdreNew.SistePlate::time)::interval,'HH24:MI') as diff from Log_Fortrykk I need the output to be HH:MM, e.g. 00:09... But my prb is when this diff is less than 0, it shows as 00:-9 and not -00:09 How can I fix this?
25
3,040
thread by: Mike Cox | last post Nov 23 '05 by: Marc G. Fournier
Since we have the discussion going, someone mentioned that the group name should be comp.databases.postgresql. I think this is a good name and I'd like to see what everyone thinks of it. There is also the issue of the charter. I would like to get some feed back on what the best charter could be for the revision of the RFD so it is a...
3
2,224
thread by: stig erikson | last post Nov 23 '05 by: Tom Lane
Hi. Is it possible to dump a database on a 7.4.6 server and then restore it on a 7.4.1 server? should i use the 7.4.1 pg_dump or the 7.4.6 pg_dump? should i use any switches? thanks
5
8,265
thread by: Steve Crawford | last post Nov 23 '05 by: Steve Crawford
This morning I got bitten by the "SELECT INTO" / "CREATE TABLE AS" from tables without OIDs bug in 7.4.1. Postmaster killed all the backends and restarted - pg was down for 2 seconds. This happened two times within a few minute period. Now I am getting 'invalid page header in block 52979 of relation "pg_attribute"' errors in the...
5
2,530
thread by: Scott Frankel | last post Nov 23 '05 by: Scott Frankel
How does one embed a sub-query lookup to one table in order to replace a foreign key id number with it's name in a SELECT on a second table? i.e.: given the following two tables, I want to replace the color_id of 1 with the color_name 'red.' (The SQL to create the two tables follows below.) test=# SELECT * from users ;
0
2,805
thread by: Scott Chapman | last post Nov 23 '05 by: Scott Chapman
The my2pg.pl script creates custom functions that help with the MySQL "set" column type. I can't figure out how to use the functions once I have the database migrated into Postgres. Can someone please explain how to make use of them? In MySQL, the table exists: CREATE TABLE accessright ( accessright_id int(10) unsigned NOT NULL...
3
6,334
thread by: Rodríguez Rodríguez, Pere | last post Nov 23 '05 by: Matteo Beccati
Hello, I think I have found a query problem when the query has an alias for a table and use alias item and table name. I ilustrate the problem with a simple table and query. prr=# create table foo (c1 int2, c2 int2); CREATE TABLE prr=# insert into foo values (1, 1);
3
8,451
thread by: Bob Powell | last post Nov 23 '05 by: Oliver Elphick
Hello everyone; My systems admin says that he needs to have use of the Postgres user without a password. His Debian package manager requires this. He tells me that he can lock down that user on the system so that there are no security concerns. Can someone tell me if this is acceptable?
7
6,359
thread by: Scott Frankel | last post Nov 23 '05 by: Scott Frankel
Still too new to SQL to have run across this yet ... How does one return the latest row from a table, given multiple entries of varying data? i.e.: given a table that looks like this: color | date --------+------------ red | 2004-01-19 blue | 2004-05-24
2
2,746
thread by: Geoffrey | last post Nov 23 '05 by: Neil Conway
Do I get more oids on a 64 bit machine? That is, is it also an unsigned four-byte integer on a 64 bit machine? -- Until later, Geoffrey ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@postgresql.org so that...
0
2,832
thread by: Kyle | last post Nov 23 '05 by: Kyle
I have a project "wyatterp.com" that was built to be an ERP development library using postgresql as a backend. We use it internally to run a 120 employee manufacturing company. And it does everything from payroll to production management. I haven't been able to do much on it for a while but now I'm getting ready to roll out a new version...
2
2,918
thread by: Kevin Barnard | last post Nov 23 '05 by: Kevin Barnard
I know I've seen this message before but I'm not quite sure what it means. I think it's because I have two vacuums running over each other. Does this sound right? It's comming from 7.4.x server. ERROR: tuple concurrently updated ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your...
5
3,768
thread by: Robert Fitzpatrick | last post Nov 23 '05 by: Tom Lane
What does it mean when you drop a database and then recreate with the same name and all the objects are still there. I want to wipe out the db and put back from pg_restore. After I re-create the db, all the old tables are back before I run pg_restore. -- Robert ---------------------------(end of broadcast)---------------------------
2
8,088
thread by: Tom Larard | last post Nov 23 '05 by: Greg Stark
Hi, We have an app which uses the latest version of perl DBI and DBD::Pg to execute a query, using placeholders. It fails to cast the float I send into a number and generates the following message "DBD::Pg::st execute failed: ERROR: invalid input syntax for integer: "2.63" at -e line 8." Here is a little test case:
3
12,173
thread by: Phil Endecott | last post Nov 23 '05 by: Tom Lane
Dear PostgreSQL experts, This is with version 7.4.2. My database has grown a bit recently, mostly in number of tables but also their size, and I started to see ANALYSE failing with this message: WARNING: out of shared memory ERROR: out of shared memory HINT: You may need to increase max_locks_per_transaction.
1
1,988
thread by: David Parker | last post Nov 23 '05 by: Bruce Momjian
What is the relationship between the "-d" parameter to postmaster and the various "log_*" directives in the postgresql.conf? Specifically, does a certain -d level have to be specified before certain log_* directives take effect? - DAP ---------------------------------------------------------------------------------- David Parker Tazz...
3
5,242
thread by: Björn Platzen | last post Nov 23 '05 by: gnari
Hello list, I'm a postgres-newbie with a maybe silly question. I'm working on a SuSE-Linux 9.1 with PostgreSQL 7.4.6 with PostGIS 0.9. My problem is, that I can't insert data into a table because I get the error, that there is no corresponding value in the referenced field. But when I query the referenced table with the value, I get a...
1
2,647
thread by: gsstark | last post Nov 23 '05 by: Greg Stark
Lionel Lauer UPDATED HOME ADDRESS: 58 Gore Street Fitzroy, Victoria Australia 3065 UPDATED HOME NUMBER: (03) 9419 0533 Same mobile number: (0419) 385 307
0
3,723
thread by: David Parker | last post Nov 23 '05 by: David Parker
We are starting to ramp-up testing of our application, and we started getting these messages in our log file: LOG: checkpoints are occurring too frequently (15 seconds apart) HINT: Consider increasing the configuration parameter "checkpoint_segments". LOG: recycled transaction log file "0000000000000045" LOG: recycled transaction log...

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.