473,786 Members | 2,571 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.
5
1,895
thread by: Joel | last post Nov 23 '05 by: Andrew Sullivan
I seem to remember reading a post on this, but searching marc does not seem to bring it up immediately. Company BBS is on postgresql, but it's still at 7.1. The guy in charge of it wants some ballpark estimates and warnings about upgrading to 7.4 so he doesn't have to worry about the recent vulnerabilities. War stories? Things to watch...
3
2,358
thread by: MaRCeLO PeReiRA | last post Nov 23 '05 by: MaRCeLO PeReiRA
Hi guys, Is there a way I can separate things in PostgreSQL? Putting tables in a disk partition and indexes in another one????? Regards, MaRcELo PeReiRa PHP/SQL/PostgreSQL
5
2,336
thread by: Sim Zacks | last post Nov 23 '05 by: Sim Zacks
I just did a dump and restore of my database and one of my views did not recreate. The error received was : pg_restore.exe: could not execute query: ERROR: column reference "pricinggroupid" is ambiguous I checked the function in the original database, using PGAdmin, and the system seemed to have slightly changed my query. Part of my...
1
6,397
thread by: Mariusz Czu³ada | last post Nov 23 '05 by: Tom Lane
Hi, In a database I have to create new schemas with exactely the same structure as the default one. Of course, I could reverse a schema with pg_dump, then apply the script to the newly created one. The problem is the base schema sometimes changes so I should generate scripts every time. Also I need to do this from a stored function. My...
3
6,656
thread by: Ed L. | last post Nov 23 '05 by: Ed L.
On 7.4.6, is there any problem with defining one column of a view to be a string literal? For example ... $ psql -c "create view fooview as select 'bar' as footype" WARNING: column "footype" has type "unknown" DETAIL: Proceeding with relation creation anyway. CREATE VIEW Or is this warning just noise in this case?
6
19,948
thread by: Denis Zaitsev | last post Nov 23 '05 by: Michael Fuhr
How can I calculate the number of second in some interval? Neither the secods part, nor the seconds after midnight... Just the full quantity of the seconds. I haven't find any function. Thanks in advance. ---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings
21
1,792
thread by: Philip Hofstetter | last post Nov 23 '05 by: Tom Lane
Hello, I think, I found a bug, but maybe it's just my stupidity. Granted: What I did was an error on my part, but I still think, PostgreSQL should not do what it does. I've already created a simple testcase: popscan_light=> create table a (id serial, name varchar(10), primary
3
6,717
thread by: Daniel Savard | last post Nov 23 '05 by: Daniel Savard
Is there a way to define a foreign key for the values of an array? For example, if table T1 is having a colum A which is defined as integer can I define a foreign key in order to force each value to be a pointer (index) to a row in a table T2? If yes, how? Is there any shortcomings to this approach? Thanks, Daniel Savard
1
3,139
thread by: Brian Maguire | last post Nov 23 '05 by: Alvaro Herrera
Can too many btree indexes cause page level locking? I read this... http://www.postgresql.org/docs/7.4/static/locking-indexes.html
0
1,697
thread by: Jerry LeVan | last post Nov 23 '05 by: Jerry LeVan
Psycopg and probably PySQL seem to have decided to return a "float" type when libpq returns a string tagged with the "numeric" property. This can cause "pretty" printing problems when generating reports. ( I like all of my decimal points to line up.) For example in my python based browser if I try the command
0
1,988
thread by: NTPT | last post Nov 23 '05 by: NTPT
Hi. i have table like this: create table my_data ( cond_1 int8,cond_2 varchar(),cond_3 .... cond_n whatrver ,data text) This table represents a simple tree structure with known max level (n) . This table is filled with data, but branches have not a same depth.
2
2,974
thread by: Carlos | last post Nov 23 '05 by: Carlos Oliva
Hi Forum, Is there a way to change the database access permissions for different IP addresses without having to re-start PostgreSQL? I often want to preclude all IP address but one from accessing the database. Currently, I change the pg_hba.conf file and re-start the database but I would like to be able to do the same thing without having...
4
4,029
thread by: Sally Sally | last post Nov 23 '05 by: Bruno Wolff III
Hi all, I am wandering about the pros and cons of creating a separate serial field for a primary key when I already have a single unique field. This existing unique field will have to be a character of fixed length (VARCHAR(12)) because although it's a numeric value there will be leading zeroes. There are a couple more tables with similar...
3
2,187
thread by: Deepa K | last post Nov 23 '05 by: Andrew Sullivan
---------------------------- Original Message ---------------------------- Subject: Abrupt close of pgsql backend From: "Deepa K" <kdeepa@midascomm.com> Date: Mon, October 25, 2004 8:04 pm To: postgresql-general@postgresql.org -------------------------------------------------------------------------- Hi, I am running postgresql...
2
3,476
thread by: Henriksen, Jonas F | last post Nov 23 '05 by: Karsten Hilbert
Hi, is it possible to write a trigger, using pl/pgSQL, that updates tables in a different database than the one the trigger is called from? If it is, what is the syntax for calling the other database? My to databases are on the same server. Regards Jonas:)) ---------------------------(end of broadcast)--------------------------- TIP...
1
4,162
thread by: f-f | last post Nov 23 '05 by: Richard Huxton
Hello ! To kill a session i used KILL -INT <PID>. This command wasn't successfull. The processus is still here when a 'ps ax'or a 'select * from pg_stat_activity' Is there an other way to kill this process only because a web server 24/7 use postgres and cannot stop postgresql now. Thanks !
1
1,807
thread by: mayra | last post Nov 23 '05 by: Thomas Hallgren
hi, I need info on the caracteristics of object relational databases and their advantages as well as disdvantages in comparison to relational databases and OO Databases! Please explain these chacteristics with respect to what Postgresql can and cannot do. Thanks for your assistance.
4
4,504
thread by: Együd Csaba | last post Nov 23 '05 by: Együd Csaba
Hi, the restoration of a dump stops at the line above. The dump was created with pgsql 7.3.2 and I need to pump it into a 7.4.3 one. Should anybody tell me what the problem can be and how I can solve it. (There are double apostophes many times in the string - is it normal??? Besides of the field separator of course...) Many thanks,...
6
4,708
thread by: Miles Keaton | last post Nov 23 '05 by: GreyGeek
Is there a simple way to list fieldnames in a table, from PHP? When on the command-line, I just do \d tablename But how to get the fieldnames from PHP commands? ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to...
1
2,896
thread by: Devrim GUNDUZ | last post Nov 23 '05 by: Gaetano Mendola
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --------------------------------------------------------------------- PostgreSQL RPM Set Update 2004-10-26 Version(s): 7.3.8, 7.4.6
0
1,847
thread by: Leen Besselink | last post Nov 23 '05 by: Leen Besselink
Hi folks, 8.0beta3 has pg_autovacuum included, when I want to run this as a Windows service, it says you can use the -I and -R options. When I do that and I specify a password with '-P' (uppercase) then in the registry it's saved as '-p' (lowercase) in the service-commandline (ImagePath). Also it removes the quotes I added and I'm not...
2
1,897
thread by: Devrim GUNDUZ | last post Nov 23 '05 by: Devrim GUNDUZ
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, (S)RPMs for new point releases (per http://archives.postgresql.org/pgsql-announce/2004-10/msg00010.php) have been built for Fedora Core 1&2, Red Hat Linux 9 and Red Hat Enterprise Linux 3.
4
1,967
thread by: Scott Frankel | last post Nov 23 '05 by: Scott Frankel
I'm attempting to debug a script that should perform a simple INSERT of values, but for some reason doesn't. The insert appears to occur without error, printing "INSERT 18015 1 upon completion." Nonetheless, no data values appear to be added to the table when queried in psql. Questions:
2
2,464
thread by: Dan Sugalski | last post Nov 23 '05 by: Dan Sugalski
I'm trying to properly tag the types of the parameters I'm passing into PQexecParams, as it seems to be the right thing to do, and it's not that big a deal given my existing code base. Unfortunately I'm running into a problem figuring out what I should be using for the tag numbers. I originally thought that the enum in include/ecpgtype.h...
9
2,318
thread by: Philip Pinkerton | last post Nov 23 '05 by: Jaime Casanova
When trying to connect to database via the pgAdmin3 GUI it asks for a password. I use the same passworrd as I did when I connect to the DB via command line but I get Ident error? how do I set, re-set the password so I can use both the commandline and pgAdmin to access edit by DB? Thanks

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.