Re: Ignore Visual Studio's Temp Files While Working with PG on Windows

From: Yasir <yasir(dot)hussain(dot)shah(at)gmail(dot)com>
To: Josef Šimánek <josef(dot)simanek(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Ignore Visual Studio's Temp Files While Working with PG on Windows
Date: 2024-05-18 21:29:28
Message-ID: CAA9OW9dkzy7UJYWU54yfFYgu_O8=vryYGw44Vuuvistpr_TR-w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Sun, May 19, 2024 at 2:23 AM Josef Šimánek <josef(dot)simanek(at)gmail(dot)com>
wrote:

> so 18. 5. 2024 v 23:16 odesílatel Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> napsal:
> >
> > =?UTF-8?B?Sm9zZWYgxaBpbcOhbmVr?= <josef(dot)simanek(at)gmail(dot)com> writes:
> > > But this is different. If I understand it well, just by following
> > > https://www.postgresql.org/docs/16/install-windows-full.html you'll
> > > get those files no matter what is your specific environment (or
> > > specific set of tools).
> >
> > Hm? Visual Studio seems like quite a specific tool from here.
>
> I initially thought the .vs folder is created just by compiling
> PostgreSQL using build.bat (like without opening Visual Studio at
> all). But I'm not 100% sure, I'll take a look and report back.
>

.vs folder is not created just by compiling PG. It is created if you open
any of .sln, .vcproj or .vcxproj files.
I have verified it.

>
> > I did some googling around the question of project .gitignore
> > files ignoring .vs/, and was amused to come across this:
> >
> > https://github.com/github/gitignore/blob/main/VisualStudio.gitignore
> >
> > which seems like a mighty fine example of where we *don't*
> > want to go.
>
> That's clearly a nightmare to maintain. But in this case it should be
> all hidden within one .vs folder.
>
> > regards, tom lane
>

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Josef Šimánek 2024-05-18 21:31:07 Re: Ignore Visual Studio's Temp Files While Working with PG on Windows
Previous Message Yasir 2024-05-18 21:27:18 Re: Ignore Visual Studio's Temp Files While Working with PG on Windows

Browse pgsql-hackers by date

  From Date Subject
Next Message Josef Šimánek 2024-05-18 21:31:07 Re: Ignore Visual Studio's Temp Files While Working with PG on Windows
Previous Message Yasir 2024-05-18 21:27:18 Re: Ignore Visual Studio's Temp Files While Working with PG on Windows