| |
thread by: Richard Welty |
last post Nov 11 '05 by: Richard Welty
ok, i'm confused.
i have two systems. one is redhat 7.1 (a server in colo, reasonably
current), the other is 8.0 (my laptop). the server in colo is running
postgresql 7.3.2 along with redhat's updated versions of apache and php for
7.1 (the php version is 4.1.2) on this server, php can access postgres
without difficulty.
my laptop is...
|
thread by: Ron Johnson |
last post Nov 12 '05 by: Bruce Momjian
Hi,
While on the topic of "need for in-place upgrades", I got to think-
ing how the pg_restore could be speeded up.
Am I wrong in saying that in the current pg_restore, all of the
indexes are created in serial?
How about this new, multi-threaded way of doing the pg_restore:
0. On the command line, you specify how many threads you want.
|
thread by: Alex |
last post Nov 12 '05 by: Bruce Momjian
Hi,
I use pg_restore to load a previously dumped database. (10mil records).
the load of the data runs quite fast but when starting creating the
triggers for foreign keys it takes forever.
Isnt there are a faster way. after all the triggers in the source db
already made sure the data was clean.
Thanks
Alex
|
thread by: Marc G. Fournier |
last post Nov 12 '05 by: ljb
After a relatively short period for beta5, where nothing major arose, we
have just packaged up our first Release Candidate for v7.4, with the hopes
of producing a full release over the next 7 to 14 days.
There is only one major change between Beta5 and RC1 that, so far, has
been reported back ... RC1 will no longer work with TCL8.0.x, due to...
|
thread by: Craig O'Shannessy |
last post Nov 12 '05 by: Tom Lane
Hi all,
Just thought I'd mention that I really think this problem needs to be
fixed. I
I'm patching the 7.4RC1 JDBC drivers as we speak due to this optimiser
bug, and it's the third time I've had to do this. I would think this bug
causes quite a lot of people to evaluate postgres and decide it has awful
primary key performance! I love...
|
thread by: David Wheeler |
last post Nov 12 '05 by: David Wheeler
Hi All,
I want to use GUIDs for object IDs in my application. This means that
they would be used for primary keys in PostgreSQL, and there would of
course be FKs pointing to them. A GUID is 128 bits, and can be in the
following possible formats:
* 16 byte binary (but then I'd have to convert it to hex in my app)
* 32 byte string (e.g.,...
|
thread by: Tony |
last post Nov 12 '05 by: Joseph Shraibman
Can someone a little more clever than I (which means just about anyone
on this list) tell me what the implications/benefits are of this are
please?
http://developers.slashdot.org/developers/03/12/19/1628241.shtml?tid=108&tid=126&tid=137&tid=156&tid=198
Cheers
T.
|
| |
thread by: Martin Marques |
last post Nov 12 '05 by: Casey Allen Shobe
Is there any chance on supporting BETWEEN in the WHERE conditions of a SELECT
clause?
Isn't that in the SQL92 or SQL3?
--
select 'mmarques' || '@' || 'unl.edu.ar' AS email;
-----------------------------------------------------------------
Martín Marqués | mmarques@unl.edu.ar
Programador, Administrador, DBA | ...
|
thread by: Chris Ochs |
last post Nov 22 '05 by: Richard Huxton
The documentation doesn't have any examples of using an sql language
function to do an insert, andI am at loss as to I am doing wrong here.
The error I get trying to create the function is: ERROR: syntax error at
or near "$1" at character 148
CREATE FUNCTION taxship(varchar,integer,varchar,float,float) returns integer
AS '
insert into...
|
thread by: Manuel Tejada |
last post Nov 22 '05 by: Kris Jurka
Hi
My box: RedHat 9.0, Pentium III
Recently I upgraded from PostgreSQL 7.3.2 to PostgreSQL 7.4.1.
The PostgreSQL 7.3.2's rpms were installed from RehHat CDs
The PostgreSQL 7.4.1's rpms I used to upgrade were downloaded from RHEL3
subdirectory (of the mirror
ftp://ftp4.ar.postgresql.org/pub/mirrors/postgresql/binary/v7.4.1/redhat/rhel3).
...
|
thread by: mike |
last post Nov 22 '05 by: Mike Mascari
I'm using postgresl 7.3.2 and have a query that executes very slowly.
There are 2 tables: Item and LogEvent. ItemID (an int4) is the primary key
of Item, and is also a field in LogEvent. Some ItemIDs in LogEvent do not
correspond to ItemIDs in Item, and periodically we need to purge the
non-matching ItemIDs from LogEvent.
The query is:...
|
thread by: Karl O. Pinc |
last post Nov 23 '05 by: Chris Gamache
Hi,
Thought perhaps some other eyes than mine can tell if I'm doing
something wrong here or if there's a bug somewhere. I've never
passed a ROWTYPE varaible to a function but I don't see where
the problem is.
I keep getting errors like (the first is my debug output):
NOTICE: last cycle is: 11
WARNING: Error occurred while executing...
|
thread by: David Garamond |
last post Nov 23 '05 by: Steve Atkins
begin;
update t set val=val+1; -- 1000 times
commit;
How many record versions does it create? 1 or 1000? I'm implementing a
banner counter which is incremented at least 2-3 millions a day. I
thought I'd cheat by only commiting after every few minutes. Would that
work or would I still create as many record versions?
--
|
thread by: Chris Ochs |
last post Nov 23 '05 by: Mark Rae
What if SET SESSION AUTHORIZATION could also accept a password so that non
superusers could switch to a different user? How difficult would this be?
One nice side benefit to this would be that you could effectively connect as
many users with Apache::DBI under mod perl without having an open connection
for every user.
Chris
|
thread by: mike.griffin |
last post Nov 23 '05 by: mike.griffin
This is part of the Columns View, if you add a numeric field to your table
and don't provide any Length or Precision then :
numeric_precision is returned as 65535
numeric_scale is returned as 65531
Is this what you'd expect, and what does it mean to create a column with
no Length or Precision, I'm using pgAdmin to create the tables and...
|
| |
thread by: Najib Abi Fadel |
last post Nov 23 '05 by: Najib Abi Fadel
Hi, i am using PostgreSQL 7.3.2
there's a bug for the date '2005-03-27' !!!!!!!!!!!!!!!!!!!!!!!!!!!
SELECT to_char('2005-03-27'::date,'DD/MM/YYYY');
to_char
------------
26/03/2005
(1 row)
|
thread by: David Suela Fernández |
last post Nov 23 '05 by: David Suela Fernández
Hi!
Is it possible to copy/migrate one database from one postgres server to
other copying just the files in /var/lib/postgres/data/ ?
I can't use pg_dump because it give me an error. I think than the
instalation of postgres is corrupt because it give me a lot of error
like "ERROR: relation "pg_catalog.pg_user" does not exist".
Thanks,
|
thread by: Christian Sell |
last post Nov 23 '05 by: Christian Sell
Hello,
I am running into a problem with PGs case sensitivity with regard to column and
table names. I am using program components that require the object names
returned from database metadata queries to be in uppercase. Therefore, I am
forced to use double quotes in the table creation scripts, like
create table "BLA" ();
However, after...
|
thread by: nd02tsk |
last post Nov 23 '05 by: Jan Wieck
Hello
Why is it that PostgreSQL chooses to have features like replication,
fulltext indexing and GIS maintained by others outside of the sourcetree?
I appreciate any answers.
Thank you.
Tim
|
thread by: Ed L. |
last post Nov 23 '05 by: Ed L.
A power failure led to failed postmaster restart using 7.4.6 (see output
below). The short-term fix is usually to delete the pid file and restart.
I often wonder why ipcs never seems to show the shared memory
block in question? Am I using the wrong command? Does the key
mentioned by pgsql map to the key in the ipcs output? And if the...
|
thread by: Nigel J. Andrews |
last post Nov 11 '05 by: Nigel J. Andrews
This will be a little vague, it was last night and I can't now do the test in
that db (see below) so can't give the exact wording.
I seem to remember a report a little while ago about tsearch v2 causing
unexpected backend exit messages with 7.3.4 and now I'm getting similar
messages unpredictably and I can't find the thread in the archives...
|
thread by: Dmitry Tkach |
last post Nov 11 '05 by: Dmitry Tkach
Hi, everybody!
Here is a weird problem, I ran into...
I have two huge (80 million rows each) tables (a and b), with id as a PK
on both of them and also an FK from b referencing a.
When I try to run a query like:
select * from a, b where a.id >= 7901288 and a.id=b.id limit 1;
The query takes *forever*.
|
thread by: Erick Papadakis |
last post Nov 12 '05 by: Andrew Sullivan
hello,
i am a newbie to the pgsql world, so pls bear with a possibly stupid
question. i want to test out pgsql but i only have a shared hosting
account. is it possible to install pgsql without root access, only for my
account? my webhost uses redhat i think.
thanks!
..ep
|
| |
thread by: Relaxin |
last post Nov 12 '05 by: Doug McNaught
I'm just trying to figure out the terminology that is used on this board and
wanted to know what is WAL and what roll does it play in Postgresql?
Thanks
|
thread by: Anton.Nikiforov |
last post Nov 22 '05 by: Anton.Nikiforov
Hello everybody!
Does someone know how to build hierarchical queries to the postgresql?
I have a table with tree in it (id, parent)
and need to find a way from any point of the tree to any other point.
And i would like to have a list of all steps from point A to point B
to make some changes on each step (this is required by the...
|