473,750 Members | 2,478 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.
3
5,701
thread by: Carlos Moreno | last post Nov 11 '05 by: scott.marlowe
I can't find a reasonable explanation for this. I have a table game, with primary key gameid (an int). If I use a where involving gameid and <, or >, or <=, or >=, then I get a sequential scan. If I use =, then of course I get an Index scan. More surprising to me is the fact that using BETWEEN, I get an Index scan!!
2
2,523
thread by: Francois Suter | last post Nov 11 '05 by: Francois Suter
Hi all, Someone asked me today if there are tools to migrate a 4D database to PostgreSQL. Any clue? Some googling turned up a tool to go the other way round and the archives got me an unanswered post about migrating from 4D to PostgreSQL, so I guess there's not much chance... Cheers.
0
1,403
thread by: Gnanakumar Thavamani | last post Nov 11 '05 by: Gnanakumar Thavamani
Hi, I'm using PostgreSQL version 7.1.3. I would like to change the data type of a column from VARCHAR to TEXT. Is this possible? If possible, how should I do it? Can anyone throw some light on this. - Gnanam
4
1,685
thread by: KG | last post Nov 11 '05 by: Vivek Khera
I'm getting the following error message when I try to create a user or database on postgresql 7.2.2 on Freebsd 4.7, I installed it from the ports directory but I'm stumped when I got the following error message. When I do a /usr/local/etc/rc.d/010.pgsql.sh start all I get is this: freebsd# sh 010.pgsql.sh start pgsqlfreebsd#
1
1,500
thread by: Jose-Lopes Antunes | last post Nov 11 '05 by: Holger Marzen
Hi, I migrated one table from oracle to postgresql. I used a PgadminII. But the table allocated, in Oracle, 152MB and in Postgresql , after migration, the space was 568MB. Anybody help me? Tkank you! Jlopes
1
1,514
thread by: Andrew Rawnsley | last post Nov 11 '05 by: Robert Treat
There used to be instructions on the web site about becoming a mirror - can't find it anymore. Does the project still need mirror sites? -------------------- Andrew Rawnsley President The Ravensfield Digital Resource Group, Ltd. (740) 587-0114
1
1,695
thread by: Hubert Fröhlich | last post Nov 11 '05 by: Tom Lane
Hi list I am working with postgresql 7.1.3 and 7.3.4 and German characters. I use only unicode databases. When importing data from iso-latin-1 via psql I tried drop table test; create table test(nr int, text1 text, text2 text) ;
5
16,286
thread by: Shridhar Daithankar | last post Nov 11 '05 by: Dennis Gearon
Hello All, I was just updating a table in oracle9.2 by hand and bumped into this. Following seems to be the valid syntax in oracle. Update foo set somefield=NULL where somefield >9; Now I am not sure having something equalled with NULL is a good thig logically. I would say
1
2,347
thread by: Muhyiddin A.M Hayat | last post Nov 11 '05 by: Jason Tishler
How to install Cygwin PostgreSQL as NT Services on Windows 2000. i have do all procedure in postgresql-7.3.4.README file but i found error $ net start postmaster The postmaster service is starting. The postmaster service could not be started. The service did not report an error.
6
3,494
thread by: Holger Marzen | last post Nov 11 '05 by: Andrew Sullivan
Hi all, the docs are not clear for me. If I want (in version 7.1.x, 7.2.x) to help the analyzer AND free unused space do I have to do a vacuum vacuum analyze or is a
3
4,205
thread by: N.K. | last post Nov 11 '05 by: N.K.
Hi, I've just installed postgres on the Linux server. It is supposed to start automatically which I think it does since I can run an sql stmt right away. When I'm trying to connect from a remote machine I get a message that the remote machine IP address is not specified in pg_hba.conf, that there is no record of that machine there....
2
2,501
thread by: Gabriele Bartolini | last post Nov 11 '05 by: Carmen Gloria Sepulveda Dedes
Hi guys, just a quick and probably stupid question. When I make a cluster based on an index on a table, how can I remove it later? Should I 'create' a new one by using the primary key index? Also, can I have more than 1 cluster on my table? Let me explain ... can I put for instance the record with, let's say, age between 10 and 20 on a...
2
1,379
thread by: Jeff Boes | last post Nov 11 '05 by: Jeff Boes
http://www.ucomics.com/foxtrot/2003/09/14/ -- Jeff Boes vox 269.226.9550 ext 24 Database Engineer fax 269.349.9076 Nexcerpt, Inc. http://www.nexcerpt.com ...Nexcerpt... Extend your Expertise
12
21,528
thread by: Relaxin | last post Nov 11 '05 by: Dennis Gearon
Is there a way to make Postgresql case-INSENSITIVE? Thanks
0
1,069
thread by: Avi Schwartz | last post Nov 11 '05 by: Avi Schwartz
In this issue the following statement is made: "In plpgsql, you cannot run a dynamic SELECT statement and be able to do anything with the selected data. You cannot assign the selected value to a variable or return the selected value from the function. You can, however, easily construct INSERT, UPDATE and DELETE statements as well a DDL...
1
6,828
thread by: Keow Yeong Huat Joseph | last post Nov 11 '05 by: darren
Hi, Would anyone able to advise how can I call a function/Stored procedure? what command to issue? Thanks. Best Regards _______________________
6
1,973
thread by: Jeff Davis | last post Nov 11 '05 by: Tom Lane
After installing PostgreSQL 7.4 beta 1 from source, I decided to install the /contrib module tsearch2. I cd to the tsearch2 directory and typed "make", however I get an error that yy_current_buffer is an undeclared identifier in wordparser/parser.c (which is apparently autogenerated with flex from parser.l). I looked online, and it seemed...
3
2,813
thread by: DanPerlman | last post Nov 11 '05 by: Jeff Eckermann
Hi, I am using the following to write data from an access table to a postgres table. I need to create an index on the "partnumber" field in the Bpb (odbc pg database) so I can seek on that field. Need to be able to locate and update records that already exist in the postgres table. It appears that the "partnumber" field is a memo field. ...
3
4,692
thread by: Konstantin Goudkov | last post Nov 11 '05 by: Konstantin Goudkov
I posted it to the pgsql-hackers list, but I did not seem to get through. Not even sure if this is a bug or a feature :) When I create a temp table and then try to copy some data into the table, if the data is corrupt and the synchronization is lost - the table also seems to get lost. For example create temp table words(aa...
4
4,040
thread by: Scott Ribe | last post Nov 11 '05 by: Tom Lane
I've got a problem which I think may be a bug in Postgres, but I wonder if I'm missing something. Two tables, A & B have foreign key relations to each other. A 3rd table C, inherits from A. A stored procedure updates a row in C, adds a row each in B & C. I get an integrity violation. All the foreign keys are deferrable, and the stored...
4
3,913
thread by: My Deja | last post Nov 11 '05 by: elein
I need examples of stored procedures returning datasets. Can anyone point me to some examples?
4
3,437
thread by: Ish Ahluwalia | last post Nov 11 '05 by: Richard Huxton
Hi: I'm very new to PostGreSql database and actually looking to evaluate for one of our project needs. Below please find some questions. I'm hoping if I can get some insight into these questions. Thanks. Ish...
0
1,418
thread by: Scott Ribe | last post Nov 11 '05 by: Scott Ribe
I've got a problem which I think may be a bug in Postgres, but I wonder if I'm missing something. Two tables, A & B have foreign key relations to each other. A 3rd table C, inherits from A. A stored procedure updates a row in C, adds a row each in B & C. I get an integrity violation. All the foreign keys are deferrable, and the stored...
0
401
thread by: Marek Lewczuk | last post Nov 11 '05 by: Marek Lewczuk
Hey, I've searched for MD5 crypting function in PG, but I did not find it. Anyone knows how to implement this function in PG ? Best wishes, Marek L. ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives?
0
1,170
thread by: Marek Lewczuk | last post Nov 11 '05 by: Marek Lewczuk
Hey, I've searched for MD5 crypting function in PG, but I did not find it. Anyone knows how to implement this function in PG ? Best wishes, Marek L. ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives?

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.