473,811 Members | 2,538 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.
0
693
thread by: Ste | last post Nov 12 '05 by: Ste
Hi, I have a dump with a table with this field: "hdstart" integer which contains integer like 1042758000 1028152800 etc etc How can I convert it to a SQL Server DateTime field? Thank in advance and sorry for my bad english...
1
4,109
thread by: Jonathan Bartlett | last post Nov 12 '05 by: Joe Conway
Is there an equivalent function for bytea columns that works like lo_import? Alternatively, is there a way to copy from a large object to a bytea column from SQL? Or maybe someone has another way of attacking this problem: I've got some Perl code that does this:
1
1,490
thread by: Frédéric Touboul | last post Nov 12 '05 by: Christopher Browne
Greetings, Is there any kind of support for XQL in PostgreSQL ? I tried to google to find the answer, but couldn't find anything very useful -- aside from something related to OpenACS... Regards, Frederic ---------------------------(end of broadcast)---------------------------
2
1,210
thread by: Joshua D. Drake | last post Nov 12 '05 by: Keith C. Perry
Happy Thanksgiving to everyone! Sincerely, Joshua D. Drake -- Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC Postgresql support, programming shared hosting and dedicated hosting. +1-503-667-4564 - jd@commandprompt.com - http://www.commandprompt.com
0
1,537
thread by: Chris Travers | last post Nov 12 '05 by: Chris Travers
Hi All; I may be able to do this in Perl, but if there is enough interest in doing something like this in C, maybe I can still help (however, consider your self warned about my skill at coding C). I am looking at the following design. The clustering daemon either need to run on separate computer systems or separate interfaces of the same...
5
6,071
thread by: Steve Crawford | last post Nov 12 '05 by: Randolf Richardson
How can I create an index on an array element? I seem to recall having done this in the past but I don't recall how. steve=# \d foo Table "public.foo" Column | Type | Modifiers -----------+--------+----------- textarray | text | steve=# create index foodex on foo (textarray);
8
8,737
thread by: Barbara Lindsey | last post Nov 12 '05 by: Tom Lane
Is there something in Postgres that corresponds to the rowid pseudocolumn in Oracle, which represents the unique address of the row of data in the table? If so, how would you access that in a query? -- Barbara E. Lindsey, COG RDC Phone: (352) 392-5198 ext. 314 Fax: (352) 392-8162
0
1,625
thread by: btober | last post Nov 12 '05 by: btober
I noticed this gem for allowing the saving of MS-Project 2000 data into a Postgresql database, http://techdocs.postgresql.org/source.php#fmsproject posted by John P Cavanaugh probably a couple years ago, and was trying to make it work with pg 7.3.4 on RH 7.2. I got the odbc setup right, because I know I can connect to the database...
20
1,509
thread by: John Wells | last post Nov 12 '05 by: Jan Wieck
Yes, I know you've seen the above subject before, so please be gentle with the flamethrowers. I'm preparing to enter a discussion with management at my company regarding going forward as either a MySql shop or a Postgresql shop. It's my opinion that we should be using PG, because of the full ACID support, and the license involved. A...
0
1,093
thread by: Peter Childs | last post Nov 12 '05 by: Peter Childs
Thought this might intrest any Postgres Users in the South East England area. The main talk at this meeting is on Postgres Vs MySql. Peter Childs -------- Original Message -------- Subject: Next GLLUG Meeting, 6 December 2003 Date: Wed, 26 Nov 2003 19:09:50 +0000 From: Zachary Struhs <gllugadmin@gllug.org.uk>
0
1,851
thread by: greg | last post Nov 12 '05 by: greg
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This is a PGP-signed copy of the checksums for PostgreSQL version 7.4. The latest copy of the checksums for this and other versions, as well as information on how to verify the files you download for yourself, can be found at:
0
1,454
thread by: Mujdat Pakkan | last post Nov 12 '05 by: Mujdat Pakkan
We have an interesting case where we want to use Postgres both as a database and a front end to a proprietary database. For the latter, we wrote functions that access the proprietary database. Then we defined views on the proprietary database and wrote rules for insert/update/delete on those views using the functions. The problem is that we...
1
2,539
thread by: Jeremiah Jahn | last post Nov 12 '05 by: Richard Huxton
I was wondering if there is something I can do that would act similar to a index over more than one table. I have about 3 million people in my DB at the moment, they all have roles, and many of them have more than one name. for example, a Judge will only have one name, but a Litigant could have multiple aliases. Things go far to slow when...
0
1,886
thread by: Josué Maldonado | last post Nov 12 '05 by: Josué Maldonado
Hello list I use postgresql ODBC driver (Version 7.03.02) to access the database (7.3.4) running on RH8, the connection string is: DRIVER={PostgreSQL};DATABASE=dbmund;SERVER=192.168.0.103;PORT=5432; UID=postgres;PWD=foo;A7=50;A8=8192;USEDECLAREFETCH=1 I would like to know if is there a way to tweak the ODBC driver to get more speed for...
0
2,883
thread by: Hervé Piedvache | last post Nov 12 '05 by: Hervé Piedvache
Hi, I would like to get the structures of all my tables m4_clients, m4_contacts etc. Help of pg_dump says : -t, --table=TABLE dump this table only (* for all) I have tried a : pg_dump -U postgres -s --table=m4_* my_database
3
1,435
thread by: Claudio Lapidus | last post Nov 12 '05 by: Greg Stark
Hello list I have two tables with identical structure, one holds 'correct' data (from an application standpoint) and the other has data 'in error'. Anyway, I need sometimes to query both tables at the same time, so I constructed an elementary view create view v1 as select * from t1 union select * from t2; But I would like to have an...
1
4,002
thread by: Eamon Reyn | last post Nov 12 '05 by: Riyad Kalla
Hi I am trying to do an insert query but for some reason although there appears to be no exception thrown my data does not get into the database. I will try to explain what I am doing In SQL you can do the following sort of statement INSERT INTO mytable (fname, lname, age) VALUES ('Joe', 'Bloggs', 20); I realise this is not a java...
10
4,730
thread by: Baldur Norddahl | last post Nov 12 '05 by: Tom Lane
Hi, I just noticed something bad in our database: webshop=# select oid,* from content_loc where id=20488; oid | id | locale | name ---------+-------+--------+-------------- 9781056 | 20488 | any | Rise Part II 9781058 | 20488 | any | Rise Part II (2 rows)
1
4,035
thread by: cnliou | last post Nov 12 '05 by: Tom Lane
Hi! If I correctly understand v7.4 manual, value, say, '2003-11-26 12:00' in TIMESTAMP WITHOUT TIMEZONE column should output '2003-11-26 19:00' for "+08:00" timezone. The following test results seem to be somewhat unexpected. Restting OS timezone (/etc/timezone and /etc/localtime in Linux) does not make the results more comfortable.
3
1,324
thread by: D. Stimits | last post Nov 12 '05 by: Tom Lane
I'm not looking for an exact answer here, but instead something more "rule of thumb". If I have a table with many fields, and I retrieving small groups of fields during a SELECT, whereby the groups of fields are indexed and/or clustered, will I get a faster select in the left-most fields, or the right-most fields? Or will it not matter? It...
7
1,860
thread by: Gaetano Mendola | last post Nov 12 '05 by: Sander Steffann
This is what I got installing the RPM for 9.0: file /usr/include/sqltypes.h from install of postgresql-devel-7.4-0.3PGDG conflicts with file from package unixODBC-devel-2.2.3-6 BTW I think that something is wrong with the file size between two distributions:
1
398
thread by: Brian Hirt | last post Nov 12 '05 by: Michael A Nachbaur
I'm looking to find out how many rows were effected during an update in a trigger. I ran across this message by jan talking about this feature possibly being added to postgresql 6.5, but I can't find any reference to such a feature in the current documentation. Did this ever make it into postgresql? ...
2
1,321
thread by: Dean Grubb | last post Nov 12 '05 by: Dean Grubb
Is there a faq on this..cause boy it is giving me a headache. System is FreeBSD 4.9 System date returns Tue Nov 25 16:32:36 EST 2003 Postgres Version is 7.3.4 installed from the port collection I've set the datestyle to ISO, european I've set australian_timezones to true I've set TimeZone to local I do a SELECT CURRENT_TIMESTAMP as...
1
1,431
thread by: Jim McNeely | last post Nov 12 '05 by: Jonathan Bartlett
I'm trying some experiments with PostgreSQL 7.3.4 with inheritance. What I read is that if you implement triggers on a parent table, those same triggers won't fire if you add records to a child table. However, I tried it, and they did indeed fire, and worked perfectly. Same sources said that indexes (indices??) wouldn't work right. Is that...
0
1,022
thread by: Vernon Smith | last post Nov 12 '05 by: Vernon Smith
> >Hi, > >I have posted this question yesterday. It doesn't seem to show up for some reason. Here is the problem: > >mm=# delete from signon where user_id='210'; >ERROR: get_typdefault: failed to lookup type 0 > >What is the cause and how to solve it? >

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.