Re: Identical command-line command will not work with \i metacommand and filename - Mailing list pgsql-general

From John Gage
Subject Re: Identical command-line command will not work with \i metacommand and filename
Date
Msg-id 0303826F-ADFF-461E-A10C-D5FF5654E1BB@numericable.fr
Whole thread Raw
In response to Re: Identical command-line command will not work with \i metacommand and filename  (Scott Mead <scott.lists@enterprisedb.com>)
Responses Re: Identical command-line command will not work with \i metacommand and filename  (Richard Huxton <dev@archonet.com>)
List pgsql-general
Yeesh.  What the ding-dong is this?

JohnGage:EFNWebsite johngage$ od -a CopySql.sql
0000000    ?   ?   ?   s   e   l   e   c   t  sp   *  sp   f   r   o   m
0000020   sp   m   e   s   h   _   d   e   s   c   r   i   p   t   o   r
0000040    s   ;  nl  nl

What are the ?'s.  Mon Dieu, what is going on?

This is a file that runs perfectly well in pgAdmin and that I edit in
Vim.

Sorry to be so ignorant and thanks,

John Gage


On Apr 22, 2010, at 3:34 AM, Scott Mead wrote:

> Do you have some funky hidden characters at the beginning of the file?
>
>    run:
>
>    od -a CopySql.sql
>


pgsql-general by date:

Previous
From: Philippe Lang
Date:
Subject: Re: Avoiding surrogate keys
Next
From: John Gage
Date:
Subject: Re: Identical command-line command will not work with \i metacommand and filename