473,811 Members | 2,970 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.
1
1,301
thread by: C G | last post Nov 12 '05 by: John Gray
Dear All, I have installed the contrib xml package and have it working, but I would like some advice on the best way to use it. In particular, how should I alter xml files? For instance, if I have: <name>None</name> and I wanted to update 'None' to 'John', what's the best way of doing this? Can xml contrib package do this for me, if so...
3
2,907
thread by: Josué Maldonado | last post Nov 12 '05 by: Richard Huxton
Hello list, I have 7.3.4 on RH 8, server hardware is a dual processor Intel Xeon 2.4 Ghz, 2G RAM, 27Gb HD available on postgres partition. Table cost2est2003 with 99350 recs is described as: code char(4) -- index tcos numeric(12,4) mes char(6) -- index
22
3,729
thread by: Christopher Murtagh | last post Nov 12 '05 by: Alvaro Herrera
Greetings, I'm trying to write a pl/perl function that will return multiple rows. I've looked all over the web and only found vague references as to how to do this (some said it was possible, and some said it wasn't but it was for older versions of Postgres). Basically I would *love* to be able to do something like this: SELECT some_id
5
2,525
thread by: Alex | last post Nov 12 '05 by: Bruno Wolff III
Hi, I have two tables , A and B where table B has a foreign key constraint to table A. I want to delete all records in table A that are older than a certain date that are not referenced by table B. When I use a DELETE FROM the entire transaction fails as soon as a referential integrity violation is detected.
2
1,272
thread by: Marc G. Fournier | last post Nov 12 '05 by: Marc G. Fournier
We have just packaged up our second Release Candidate for v7.4, with the hopes of producing a full release next week. A full ChangeLog is available at: ftp://ftp.postgresql.org/pub/sources/v7.4/ChangeLog.RC1.to.RC2 But, one of the highlights is that support for tcl8.0.x has been re-introduced.
1
1,163
thread by: Alex | last post Nov 12 '05 by: Andrew Sullivan
Hi, I just went through the install notes on erserver1.2 and saw a mention in there that every table for replication requires a integer based column. It also states that a new column is added for every table that is replicated. The tables I intend to replicate already have such a column. Can the server be configured to use these instead so...
0
1,321
thread by: Cláudia Morgado | last post Nov 12 '05 by: Cláudia Morgado
Hello! We working currently with the Oracle and we would like to know if postgresql has some similar components as the concept of instance, buffer database cache, Redo log buffer, datafiles, background process, etc. How postgre works? It works in memory? There is some figure that ilustrates your architecture? regards, Carla Mello e...
1
1,163
thread by: Fernando | last post Nov 12 '05 by: Rajesh Kumar Mallah
Hello, I'm quite new with PostgreSQL, so this question might be quite dumb, but is there any structure storing information about the transactions which are locked in a moment? I mean, is there, for example, an array with the IDs of the transactions which are locked in the same object? If so, what is its name? Thanks in advance! ...
2
2,011
thread by: Josué Maldonado | last post Nov 12 '05 by: Josué Maldonado
Hello list, Is there a way to create indexes using functions like these: substring(prod_no,8,4) to_char(fkardex,'YYYYMM') substr(facnum,1,2) Help says is not possible but I would like to know if someone know an undocumented/tricky way to get that done.
1
9,325
thread by: Rajesh Kumar Mallah | last post Nov 12 '05 by: Tom Lane
Hi , Looks like ADD UNIQUE( some_fuc( some_feild) ) is not supported with add constraint. the only way is to add the constriant is using UNIQUE INDEX . Is it a bug or intended behaviour? Regds Mallah.
2
1,723
thread by: Rajesh Kumar Mallah | last post Nov 12 '05 by: Rajesh Kumar Mallah
Hmmm... am i doing anything really silly? tradein_clients=# CREATE INDEX profile_master2 on profile_master (lower( btrim(email) ) ); ERROR: parser: parse error at or near "(" at character 61 tradein_clients=# Regds mallah.
1
5,959
thread by: fuzzy | last post Nov 12 '05 by: Tino Wildenhain
How cvan i install the postgresql ODBC Driver for Windows if i have only a DLL ? Thanx in Advance
2
1,453
thread by: frank_lupo | last post Nov 12 '05 by: Alvaro Herrera
I have create user PIPPO: CREATE USER PIPPO; I have create a table: create table aa (id int4); Change owner of table to user PIPPO. alter table aa owner pippo; I drop user PIPPO. Who is the owner of the table?
6
1,998
thread by: J Smith | last post Nov 12 '05 by: Ron Johnson
After doing some googling through the lists and such, I wasn't able to arrive at a solution for a problem I've run into recently. I've seen mention of similar symptoms, but my case seems different. After recently upgrading to 7.3.4 from 7.3.1, I started having problems with using subselects in INSERTs. I'm seeing things like this...
2
5,293
thread by: Christopher Murtagh | last post Nov 12 '05 by: Christopher Murtagh
Greetings, I'm trying to build 7.3.4 and I've come across two problems, one during the configure and the other afterward. Problem 1) Trying to build with openssl support gives this: ../configure --with-openssl --enable-odbc --with-perl --enable-multibyte
0
897
thread by: mark Thatcher | last post Nov 12 '05 by: mark Thatcher
3
2,026
thread by: Mark Harrison | last post Nov 12 '05 by: Mark Harrison
I have indexed two columns in a table. Can somebody explain to me why the first query below uses an Index Scan while the second uses a Seq Scan? Many TIA! Mark planb=# \d abcs Table "public.abcs"
0
2,538
thread by: Paul R. Sand | last post Nov 12 '05 by: Paul R. Sand
I am trying to set up a project in Visual C++ to use libpq.dll from Postgres. Are there instructions on how and where to build the libpq.dll and then insert libpq.dll and libpq-fe.h into a project. Thanks, I am trying to get a quick start back into coding after not doing it for a while. I am using a Windows XP Professional OS for the...
1
1,882
thread by: CSN | last post Nov 12 '05 by: Peter Eisentraut
On my windows/cygwin/PG 7.3.1 box, results are sorted with lowercase appearing after uppercase. On my redhat/PG 7.3.3 boxes results are sorted without regard to case. Is there some locale (or other) setting that controls this? If so, which locales do which? Or is this due to something else entirely - such as the OS's?
1
1,311
thread by: Krzysztof Labiak | last post Nov 12 '05 by: Bruce Momjian
Hi I prepare to write a master thesis about PostgreSQL. I need some technical information about solution (concrite information about algorithms, why the postgresql "masters" used exactly this algorithms). Most information avaliable (s2k-ftp.cs.berkeley.edu:8000/postgre/papers, http://developer.postgresql.org/docs/postgres/biblio.html)...
1
3,887
thread by: Philippe Lang | last post Nov 12 '05 by: Tom Lane
Hello, Imagine we have the following kind of table, with two values (a and b), and a varchar (f) representing an expression. ---------------------------------- CREATE TABLE public.test ( id serial NOT NULL, a int4, b int4,
4
2,370
thread by: Russell Crosser | last post Nov 12 '05 by: My Deja
I maintain an internet site. The host is linux based and uses postgres on the server. I wish to install a smallish database (of names and addresses +) on the host, and allow it to be accessed over the internet (by a restricted number of people). I have the database working locally on a MS Access database, but would expect to transfer it to a...
4
9,180
thread by: Rajesh Kumar Mallah | last post Nov 12 '05 by: Rajesh Kumar Mallah
Hi, We need to implement following logic efficiently. SELECT * from some_table where .... IF rows_matched = 1 THEN use the single row that matched.
1
8,056
thread by: Rajesh Kumar Mallah | last post Nov 12 '05 by: Jean-Michel POURE
Hi , my current database in 7.3.4 is SQL_ASCII are there any benifits of coverting it to UNICODE encoding in 7.4 ? If so what is the process. Regds Mallah.
1
1,671
thread by: javier garcia - CEBAS | last post Nov 12 '05 by: Shridhar Daithankar
Hello; If I add the line: ------------------- su -c 'pg_ctl start -D /usr/local/pgsql/data/ -l /usr/local/pgsql/data/logfile' postgres ------------------- to /etc/rc.d/rd.local. Is there a way this could work when I don't boot as root, but as a common user?

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.