Re: [GENERAL] Timestamp with timezone query

2006-09-26 Thread Harry Hehl
CTED] Sent: Tuesday, September 26, 2006 12:47 AM To: Harry Hehl; pgsql-general@postgresql.org Subject: RE: [GENERAL] Timestamp with timezone query I'm not at my dev station to check, but what about: SELECT myTime AT TIME ZONE 'UTC' FROM theTable; Then try: SELECT myTime AT TI

Re: [GENERAL] Timestamp with timezone query

2006-09-25 Thread Harry Hehl
results or syntax errors. Is there a way to do the same thing with TIME columns? -Original Message- From: Brandon Aiken [mailto:[EMAIL PROTECTED] Sent: Monday, September 25, 2006 11:39 AM To: Harry Hehl; pgsql-general@postgresql.org Subject: RE: [GENERAL] Timestamp with timezone qu

[GENERAL] Timestamp with timezone query

2006-09-25 Thread Harry Hehl
Hello, I have a table with TIMESTAMP WITH TIMEZONE column. I would like to query for a timestamp using a different timezone. For example if a column contains '2006-02-11 00:30:00-05' select * from table where column='2006-02-10 19:30:00+00' would return the column containing '2006-02-11 00:30:00

[GENERAL] pg_dump output containing CREATE TYPE does not restore with psql

2006-09-20 Thread Harry Hehl
I am using the following commands to dump and then restore a database. pg_dump -Fp "${PGDATABASE}" > "${BACKUPFILE}" psql --variable ON_ERROR_STOP=1 -f "${BACKUPFILE}" The restore fails with: psql:x:384: ERROR: foreign key constraint "accepttaskevent" cannot be implemented DETAIL: Key colum

[GENERAL]

2006-06-08 Thread Harry Hehl
Harry Hehl DiskStream Incorporated v: 519.579.8166 x30 f: 519.579.9746 www.diskstream.com This communication is intended to be received by the individual or entity to whom or to which it is addressed and may contain information that is confidential and/or subject to copyright or

[GENERAL] Sequencial scan instead of using index issue again

2006-03-06 Thread Harry Hehl
There seems to be many posts on this issue but I not yet found an answer to the seq scan issue. I am having an issue with a joins. I am using 8.0.3 on FC4 Query: select * from ommemberrelation where srcobj='somevalue' and dstobj in (select objectid from omfilesysentry where name='dir15_file80'