Grokbase
x

PostgreSQL - Novice

 Topics | People | Info | Page 1 of 265: 1 2 3 > >>

[NOVICE] ERROR: relation with OID XXXX does not exist

By David Monarchi at Aug 18, 2007, 05:10 am UTC

Hello - I'm using PG 8.2.4. I am executing a function which includes the code fragment shown below. It goes through the loop and then fails with the error message ERROR: relation with OID 591161 does not exist I'm using the serial data type as a way to record the order of the records based on a... More...

[NOVICE] large duplicated files

By Ryan D. Enos at Aug 17, 2007, 1:53 pm UTC

Hi, I am very new to postgresql and am not really a programmer of any type. I use pgsql to manage very large voter databases for political science research. My problem is that my database is creating large duplicate files, i.e.: 17398.1, 17398.2, 17398.3, etc. Each is about 1g in size. I understand... More...

[NOVICE] rogue process maxing cpu and unresponsive to signals

By Jon Jensen at Aug 16, 2007, 9:27 pm UTC

I've got a simple select query that runs every 10 minutes in order to update data in some external rrds (it lets us make pretty graphs and so forth). This has been working fine for months on end, when suddenly yesterday the badness happen. For some reason, this same query that normally takes a... More...

[NOVICE] How to create a spatial index on point data.

By s anwar at Aug 16, 2007, 9:13 pm UTC

How does once create a spatial index on point data. I did the following and got the error given below. create table foo(x point); create index foo_x on foo using gist(x); ERROR: data type point has no default operator class for access method "gist" HINT: You must specify an operator class for the... More...

[NOVICE] horizontal clustering?

By Chirag Patel at Aug 16, 2007, 05:08 am UTC

My application is designed in such a way that the amount of data is expected to be enormous (in the terabytes). I would like to cluster the data and have the luxury of being able to slice up (denormalize) the database tables by user. In other words, users 1-50 and user 51-100 can be divided so that... More...

Re: [NOVICE] Install two different versions of postgres which should run in parallel

By Oliver Elphick at Aug 15, 2007, 12:42 pm UTC

If you run Debian or Ubuntu you can do this with the package system. apt-get install postgresql-8.2 postgresql-7.4 The two versions are automatically installed to run on different ports. Look at the docs and manpages for the postgresql-common package to see how it works. If you can't do that, you... More...

[JDBC] Re: [NOVICE] Install two different versions of postgres which should run in parallel

By Sean Davis at Aug 15, 2007, 11:58 am UTC

You can install from source and provide the --prefix argument to the configure command. Sean ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not... More...

[NOVICE] foreign key constraint to multiple tables

By Kevin McCarthy at Aug 15, 2007, 01:49 am UTC

I have a table with a column that will join with one of several tables based on the value of another column. I'm not sure if this column can be set as a foreign key to any of these tables, may be simply bad design on my part. The item_type_id column of a record of 'A' will reference one of the... More...

[NOVICE] data storage for timestamp data type?

By Chirag Patel at Aug 14, 2007, 7:56 pm UTC

The timestamp data type in postgreSQL has the option for a parameter 'p' that defines the precision from 0-6. The documentation indicates 8 bytes as the default size for the column. If I use timestamp(3) as an example, will postgres still allocate the entire 8 bytes for the column or reduce it?... More...

[NOVICE] Postmaster start up problems (can't create lock file )

By Jasbinder Singh Bali at Aug 14, 2007, 6:23 pm UTC

I'm trying to start my postgres server and it gives me the following errror FATAL: could not create lock file "/var/run/postgresql/.s.PGSQL.5432.lock": Permission denied Now obviously to touch the file that the error message is talking about, one needs root permission that the user account under... More...

[NOVICE] More of a SQL question, I guess.

By Howard Eglowstein at Aug 14, 2007, 3:11 pm UTC

I have a database with 150 fields per row. For historical reasons, it's broken into three databases, data_a, data_b and data_c. One of the fields is a timestamp and one of them is a serial number that came in from a remote machine that reports its status every day. If I use a command like 'SELECT... More...

Re: [SQL] Install two different versions of postgres which should run in parallel

By gh...@fmed.uba.ar at Aug 14, 2007, 07:37 am UTC

Shure. You just have to take care about --prefix (executable path) and --with-pgport (default port) when you ./configure, and also take care of the datadir you chose when executing initdb. Good luck. Gerardo ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill... More...


Shure. You just have to take care about --prefix (executable path) and
--with-pgport (default port) when you ./configure, and also take care of
the datadir you chose when executing initdb.

Good luck.
Gerardo

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

[NOVICE] analyzing query results

By Lonni J Friedman at Aug 13, 2007, 10:28 pm UTC

Greetings, I have a PostgreSQL-8.x database that contains several tables which hold the results of automated regression tests. Each table contains a specific class of test, however the results from different subtests of that class of test reside in a single table. For example, I have tests A, B & C... More...

[NOVICE] resetting superuser password

By Andrew C. Uselton at Aug 13, 2007, 5:42 pm UTC

Howdy all, We do not know the superuser (postgres) password to our database cluster. The auth configuration (pg_hba.conf) has the only auth method set to: Type db user method param local all all md5 sameuser I have root access to the machine, but I don't see how to reset the superuser password. The... More...

[NOVICE] Free designable front end for PostgreSQL

By Peter N. Ernst at Aug 11, 2007, 2:13 pm UTC

To Whom It May Concern: Wanted to set up a database in a small network with PostgreSQL on Windows. = Before I start there is one question: Is there free/opensource-ware to set up a self designed user-interfaces on = the =93workstationss=94 with forms and buttons, in which mere mortal people= can... More...

[NOVICE] Adding columns dynamically to a table

By Avinash Lakshman at Aug 11, 2007, 04:16 am UTC

Hi I am new to PostGres and I am evaluating it for our purposes. The biggest requirement I have is that I need the ability to constantly add columns dynamically to a table. How is the efficiency of such an operation ? Basically the number of columns differ per key. Are there any techniques that are... More...

[NOVICE] pg_dump/pg_dumpall

By Andrew C. Uselton at Aug 11, 2007, 04:10 am UTC

Greetings, I was just trying to get a live backup of my database and had the following error: uselton]# pg_dumpall > /tmp/osp5_pgsql.dump Password: pg_dumpall: could not connect to database "template1": FATAL: Password authentication failed for user "root" If it really is asking for the 'root'... More...

[NOVICE] could not serialize access due to concurrent update

By Brian Hurt at Aug 10, 2007, 9:34 pm UTC

Actually, I have something of a weird problem. I'm trying to test some code of mine to handle cases where a retry is needed when working with serializable transactions. My problem is that I can *not* figure out how to trigger this error: from:... More...

[NOVICE] Configuring Postgresql to use PAM

By Marcin Porwit at Aug 10, 2007, 7:58 pm UTC

Hi, I'm trying to set up my DB to authenticate against a PAM back-end (in this case just a plain old local password DB). Here's my configuration as it currently stands: positionwhile[pg]% grep pam /var/lib/pgsql/metadata/pg_hba.conf # "krb4", "krb5", "ident", or "pam". Note that "password" sends... More...

[NOVICE] restoring with sql script

By Demian Quinonez at Aug 10, 2007, 07:58 am UTC

Help! I am creating a fail over server and one element of my system is using postgresql 8.0. I created a dump of the current DB and I want to restore "as is" on the fail over server. On the fail over I am using the command "psql -U <username> < <sql script>" to try to restore the the DB but when I... More...

spacer
 Topics | People | Info | Page 1 of 265: 1 2 3 > >>
Home > Groups > postgresql.org > PostgreSQL - Novice