pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedUpgrade problems
3+ messages / 3 participants
[nested] [flat]
* Upgrade problems
@ 2001-07-26 20:23 Roy Souther <roy@silicontao.com>
0 siblings, 0 replies; 3+ messages in thread
From: Roy Souther @ 2001-07-26 20:23 UTC (permalink / raw)
To: pgsql-admin
I have a large database. I had PG 7.0. I did the data dump and got a 2.5 GB
file. But when I tried to run psql with the new 7.1.2 I get a file to large
error and nothing happens psql exits.
Is there a limit with psql? I am hoping it was compiled wrong. I insted from
the binary RPMS for Mandrake 8.0.
I will try compiling the source and see if that fixes the problem.
Is there some way I could dump to two files?
Do a dump on individual tables? pg_dumpall just does an SQL "COPY
<table_name> TO stdio" so is there and easy what I could write a bash script
to do a dump like this for each table? Then I could restore them one table
at a time right?
I have no large object in the tables. Every thing should go to text easy. How
would I get it back?
--
Roy Souther <roy@silicontao.com>
01100010 10101110 11000110 11010110 00000100 10110010 10010110 11000110
01001110 11110110 11001110 00010110 10010110 00101110 10000100 10000100
^ permalink raw reply [nested|flat] 3+ messages in thread
* upgrade problems
@ 2003-04-22 00:02 John Smith <pbucherjr@yahoo.com>
0 siblings, 1 reply; 3+ messages in thread
From: John Smith @ 2003-04-22 00:02 UTC (permalink / raw)
To: pgsql-admin
I'm trying to use 7.22 , coming from 7.1 but I get the
error on 7.3 as well. My problems is with dates
though. I get this error when trying to do a query
that worked on 7.1
The query : SELECT id, occurs,
to_char(timestamp('now',starttime),'HH12:MI PM') as
starttime, to_char(timestamp('now',endtime),'HH12:MI
PM') as endtime, location FROM site_interview_sessions
WHERE job_id = 730 AND timezone = timezones.id AND
occurs >= 'now' ORDER BY occurs,
to_char(timestamp('now',starttime),'HH24:MI'),
to_char(timestamp('now',endtime),'HH24:MI'), generated
this error ERROR: parser: parse error at or near
\"\'\" !
I tried changing a few things around, but got no good
results. Is there something with any of these
functions I've used improperly that may be causeing
this query to malfunction? Thanks in advance.
__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: upgrade problems
@ 2003-04-23 18:32 Stephan Szabo <sszabo@megazone23.bigpanda.com>
parent: John Smith <pbucherjr@yahoo.com>
0 siblings, 0 replies; 3+ messages in thread
From: Stephan Szabo @ 2003-04-23 18:32 UTC (permalink / raw)
To: John Smith <pbucherjr@yahoo.com>; +Cc: pgsql-admin
On Mon, 21 Apr 2003, John Smith wrote:
> I'm trying to use 7.22 , coming from 7.1 but I get the
> error on 7.3 as well. My problems is with dates
> though. I get this error when trying to do a query
> that worked on 7.1
>
> The query : SELECT id, occurs,
> to_char(timestamp('now',starttime),'HH12:MI PM') as
> starttime, to_char(timestamp('now',endtime),'HH12:MI
> PM') as endtime, location FROM site_interview_sessions
> WHERE job_id = 730 AND timezone = timezones.id AND
> occurs >= 'now' ORDER BY occurs,
> to_char(timestamp('now',starttime),'HH24:MI'),
> to_char(timestamp('now',endtime),'HH24:MI'), generated
> this error ERROR: parser: parse error at or near
> \"\'\" !
> I tried changing a few things around, but got no good
> results. Is there something with any of these
> functions I've used improperly that may be causeing
> this query to malfunction? Thanks in advance.
My guess is the use of the timestamp function. You'll need to use
"timestamp"('now', ...) to call the function (Rather than it being the
type with an precision specification). However, what are you actually
trying to get from those calls in any case?
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2003-04-23 18:32 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-07-26 20:23 Upgrade problems Roy Souther <roy@silicontao.com>
2003-04-22 00:02 upgrade problems John Smith <pbucherjr@yahoo.com>
2003-04-23 18:32 ` Re: upgrade problems Stephan Szabo <sszabo@megazone23.bigpanda.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox